exception struct.error Exception raised on various occasions; argument is a string describing what is wrong.
incrementaldecoder Incremental encoder and decoder classes or factory functions. These have to provide the interface defined
Codec.encode(input[, errors]) Encodes the object input and returns a tuple (output object, length consumed). For instance
encode decode The stateless encoding and decoding functions. These must be functions or methods which have the same
pack_into(buffer, offset, v1, v2, ...) Identical to the pack_into() function, using the compiled format.
class codecs.IncrementalEncoder(errors='strict') Constructor for an IncrementalEncoder instance.
unpack(buffer) Identical to the unpack() function, using the compiled format. The buffer’s size in bytes must equal
class codecs.StreamReader(stream, errors='strict') Constructor for a StreamReader instance. All
unpack_from(buffer, offset=0) Identical to the unpack_from() function, using the compiled format. The buffer’s
iter_unpack(buffer) Identical to the iter_unpack() function, using the compiled format. The buffer’s size in bytes
Page 2 of 8