read_bytes method

read_bytes

Reads an array of unsigned byte values from the stream.

Returns

The array of unsigned byte values.

def read_bytes(self, position, count):
    ...
ParameterTypeDescription
positionintThe position to read from.
countintThe elements count.

read_bytes

Reads an array of byte values from the stream.

Returns

The array of byte values.

def read_bytes(self, array, array_index, position, count):
    ...
ParameterTypeDescription
arraybytesThe array to fill.
array_indexintThe array index to start putting values to.
positionintThe stream position to read from.
countintThe elements count to read.

See Also