Defines functions and codecs pertaining to binary-to-text encodings.
Classes
_class Base64HQXIncrementalCreator(Base64IncrementalCreator)
IncrementalDecoder implementation to create (yes) the flavour of Base64 used in BinHex4.
Note that this does not output the BinHex4 format, and is only one component of implementing it.
_class Base64HQXIncrementalParser(Base64IncrementalParser)
IncrementalEncoder implementation to parse (yes) the flavour of Base64 used in BinHex4.
Note that this does not take the BinHex4 format, and is only one component of implementing it.
_class Base64IncrementalCreator(IncrementalDecoder)
IncrementalDecoder implementation to create (yes) Base64 from bytes.
_Base64IncrementalCreator.decode(data_in,final)
Implements IncrementalDecoder.decode
_class Base64IncrementalParser(IncrementalEncoder)
IncrementalEncoder implementation to parse (yes) Base64 from a string to bytes.
_Base64IncrementalParser.encode(string_in,final)
Implements IncrementalEncoder.encode
_Base64IncrementalParser.getstate()
Implements IncrementalEncoder.getstate
_Base64IncrementalParser.reset()
Implements IncrementalEncoder.reset
_Base64IncrementalParser.setstate(state)
Implements IncrementalEncoder.setstate
_class Base64UUIncrementalCreator(Base64IncrementalCreator)
IncrementalDecoder implementation to create (yes) the flavour of Base64 used in uuencode.
Note that this does not output the uuencode format, and is only one component of implementing it.
_class Base64UUIncrementalParser(Base64IncrementalParser)
IncrementalEncoder implementation to parse (yes) the flavour of Base64 used in uuencode.
Note that this does not take the uuencode format, and is only one component of implementing it.
_class QuoPriIncrementalCreator(IncrementalDecoder)
IncrementalDecoder implementation to create (yes) Quoted-Printable from bytes.
_QuoPriIncrementalCreator.decode(data_in,final)
Implements IncrementalDecoder.decode
_QuoPriIncrementalCreator.getstate()
Implements IncrementalDecoder.getstate
_QuoPriIncrementalCreator.reset()
Implements IncrementalDecoder.reset
_QuoPriIncrementalCreator.setstate(state)
Implements IncrementalDecoder.setstate
_class QuoPriIncrementalParser(IncrementalEncoder)
IncrementalEncoder implementation to parse (yes) Quoted-Printable from a string to bytes.
_QuoPriIncrementalParser.encode(string_in,final)
Implements IncrementalEncoder.encode
_QuoPriIncrementalParser.getstate()
Implements IncrementalEncoder.getstate
_QuoPriIncrementalParser.reset()
Implements IncrementalEncoder.reset
_QuoPriIncrementalParser.setstate(state)
Implements IncrementalEncoder.setstate
Functions
_base64_file_create(data,filename,mode)
Create a Base64 string containing the provided data, with lines wrapped as required by some formats. If a filename and optional UNIX mode are provided, Base64 headers as recognised by some modern versions of uudecode are added.
_uu_file_create(data,filename,mode)
Create a string in the uuencode file format containing the provided data.