to_bytes method

to_bytes

Converts the stream data to the Byte array.

Returns

The stream data converted to the Byte array.

def to_bytes(self):
    ...

to_bytes

Converts the stream data to the Byte array.

Returns

The stream data converted to the Byte array.

def to_bytes(self, position, bytes_count):
    ...
ParameterTypeDescription
positionintThe position to start reading bytes from.
bytes_countintThe bytes count to read.

See Also