codecs.getincrementaldecoder(encoding) Look up the codec for the given encoding and return its incremental decoder class or
class codecs.StreamWriter(stream, errors='strict') Constructor for a StreamWriter instance. All
getstate() Return the current state of the decoder. This must be a tuple with two items, the first must be the buffer containing
class codecs.CodecInfo(encode, decode, streamreader=None, streamwriter=None, incrementalencoder=None, incrementaldecoder=None, name=None)
Codec.decode(input[, errors]) Decodes the object input and returns a tuple (output object, length consumed). For instance
struct.unpack(fmt, buffer) Unpack from the buffer buffer (presumably packed by pack(fmt, ...)) according
codecs.lookup(encoding) Looks up the codec info in the Python codec registry and returns a CodecInfo object as
encodings.idna.ToUnicode(label) Convert a label to Unicode, as specified in
reset() Reset the decoder to the initial state.
writelines(list) Writes the concatenated list of strings to the stream (possibly by reusing the write() method)
Page 7 of 8