Lines Matching full:encode
8 to encode arbitrary 8-bit data using the three 8-bit bytes in four 7-bit
14 This module provides an interface to encode and decode both headers and bodies
33 'encode',
68 """Encode a single header line with Base64 encoding in a given charset.
74 charset names the character set to use to encode the header. It defaults
100 # Base64 encode each line, in encoded chunks no greater than maxlinelen in
125 def encode(s, binary=True, maxlinelen=76, eol=NL):
126 """Encode a string with base64.
148 # BAW: should encode() inherit b2a_base64()'s dubious behavior in
158 body_encode = encode
159 encodestring = encode