struct.unpack(fmt, buffer) Unpack from the buffer buffer (presumably packed by pack(fmt, ...)) according
encode(object[, final]) Encodes object (taking the current state of the encoder into account) and returns the resulting
class codecs.StreamWriter(stream, errors='strict') Constructor for a StreamWriter instance. All
encodings.idna.ToUnicode(label) Convert a label to Unicode, as specified in
reset() Reset the decoder to the initial state.
read([size[, chars[, firstline]]]) Decodes data from the stream and returns the resulting object. The
getstate() Return the current state of the decoder. This must be a tuple with two items, the first must be the buffer containing
codecs.getincrementaldecoder(encoding) Look up the codec for the given encoding and return its incremental decoder class or
writelines(list) Writes the concatenated list of strings to the stream (possibly by reusing the write() method)
class codecs.CodecInfo(encode, decode, streamreader=None, streamwriter=None, incrementalencoder=None, incrementaldecoder=None, name=None)
Page 7 of 8