write_to method

write_to

Copies the contained data to another StreamContainer.

def write_to(self, stream_container):
    ...
ParameterTypeDescription
stream_containerStreamContainerThe stream container to copy to.

write_to

Copies the contained data to another StreamContainer.

def write_to(self, stream_container, length):
    ...
ParameterTypeDescription
stream_containerStreamContainerThe stream container to copy to.
lengthintThe bytes count to write.

Exceptions

ExceptionDescription
FrameworkExceptionCopy operation cannot complete. Cannot read + count + bytes.

See Also