unpack(buffer) Identical to the unpack() function, using the compiled format. The buffer’s size in bytes must equal
class struct.Struct(format) Return a new Struct object which writes and reads binary data according to the format string format
pack_into(buffer, offset, v1, v2, ...) Identical to the pack_into() function, using the compiled format.
unpack_from(buffer, offset=0) Identical to the unpack_from() function, using the compiled format. The buffer’s
exception struct.error Exception raised on various occasions; argument is a string describing what is wrong.
struct.unpack_from(fmt, buffer, offset=0) Unpack from buffer starting at position offset, according to the
struct.pack_into(fmt, buffer, offset, v1, v2, ...) Pack the values v1, v2, ... according to the format string
incrementaldecoder Incremental encoder and decoder classes or factory functions. These have to provide the interface defined
iter_unpack(buffer) Identical to the iter_unpack() function, using the compiled format. The buffer’s size in bytes
codecs.replace_errors(exception) Implements the 'replace' error handling (for text
Page 2 of 8