write method
write
Writes the specified data.
def write(self, data):
...
Parameter | Type | Description |
---|---|---|
data | bytes | The data to write. |
write
Writes the specified data.
def write(self, data, offset, data_length):
...
Parameter | Type | Description |
---|---|---|
data | bytes | The data to write. |
offset | int | The data offset. |
data_length | int | Length of the data to writer. |