Unpacker.unpack_fopaque(n) Unpacks and returns a fixed length opaque data stream, similarly to unpack_fstring().
Unpacker.unpack_float() Unpacks a single-precision floating point number.
Unpacker.unpack_farray(n, unpack_item) Unpacks and returns (as a list) a fixed length array of homogeneous items. n is number of list elements to expect in the buffer. As above, unpack_item is the function used to unpack each element.
Unpacker.unpack_double() Unpacks a double-precision floating point number, similarly to unpack_float().
Unpacker.unpack_bytes() Unpacks and returns a variable length byte stream, similarly to unpack_string().
Unpacker.unpack_array(unpack_item) Unpacks and returns a variable length list of homogeneous items. First, the length of the list is unpacked as an unsigned integer, then each element is unpacked as in unpack_farray() above.
Unpacker.set_position(position) Sets the data buffer unpack position to position. You should be careful about using get_position() and set_position().
Unpacker.reset(data) Resets the string buffer with the given data.
Unpacker.get_position() Returns the current unpack position in the data buffer.
Unpacker.get_buffer() Returns the current unpack data buffer as a string.
Page 46 of 663