class codecs.StreamRecoder(stream, encode, decode, Reader, Writer, errors) Creates a StreamRecoder instance which
codecs.iterdecode(iterator, encoding, errors='strict', **kwargs) Uses an incremental decoder to iteratively decode the input
struct.calcsize(fmt) Return the size of the struct (and hence of the bytes object produced by pack(fmt, ...)) corresponding
codecs.register_error(name, error_handler) Register the error handling function error_handler under the name name
pack(v1, v2, ...) Identical to the pack() function, using the compiled format. (len(result) will equal
codecs.namereplace_errors(exception) Implements the 'namereplace' error handling (for encoding with
codecs.getincrementalencoder(encoding) Look up the codec for the given encoding and return its incremental encoder class or
reset() Flushes and resets the codec buffers used for keeping state. Calling this method should
IncrementalEncoder.getstate() Return the current state of the encoder which must be an integer. The implementation should make
codecs.open(filename, mode='r', encoding=None, errors='strict', buffering=1) Open an encoded file using the given mode
Page 5 of 8