class codecs.StreamReader(stream, errors='strict') Constructor for a StreamReader instance. All
codecs.getencoder(encoding) Look up the codec for the given encoding and return its encoder function. Raises
streamreader Stream writer and reader classes or factory functions. These have to provide the interface defined by the base
codecs.lookup_error(name) Return the error handler previously registered under the name name. Raises
codecs.getreader(encoding) Look up the codec for the given encoding and return its StreamReader class or factory
IncrementalEncoder.setstate(state) Set the state of the encoder to state. state must be an encoder state returned
reset() Reset the encoder to the initial state. The output is discarded: call .encode(object, final=True), passing
decode(object[, final]) Decodes object (taking the current state of the decoder into account) and returns the resulting
codecs.encode(obj, encoding='utf-8', errors='strict') Encodes obj using the codec registered for encoding
codecs.EncodedFile(file, data_encoding, file_encoding=None, errors='strict') Return a StreamRecoder instance, a
Page 3 of 8