|
WISP ERT (Server)
1.0.0
The WISP Extended Runtime (Server side)
|
Byte stream mix-in for reading and writing Python values. More...
Public Member Functions | |
| def | read_data (self, fmt, endian="<") |
| Read binary data from stream with given format. More... | |
| def | write_data (self, fmt, args, kwargs) |
| Write binary data to stream with given format. More... | |
Byte stream mix-in for reading and writing Python values.
| def wtp.util.DataStreamMixin.read_data | ( | self, | |
| fmt, | |||
endian = "<" |
|||
| ) |
Read binary data from stream with given format.
| fmt | Binary data format. |
| endian | Endianness of data to read. |
| def wtp.util.DataStreamMixin.write_data | ( | self, | |
| fmt, | |||
| args, | |||
| kwargs | |||
| ) |
Write binary data to stream with given format.
| fmt | Binary data format. |
| args | Data to write. |
| kwargs | Options for writing data endian: Endianness of data to write. |