read_bytes method
Contents
[
Hide
]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):
...
Parameter | Type | Description |
---|---|---|
position | int | The position to read from. |
count | int | The 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):
...
Parameter | Type | Description |
---|---|---|
array | bytes | The array to fill. |
array_index | int | The array index to start putting values to. |
position | int | The stream position to read from. |
count | int | The elements count to read. |