File indexing completed on 2024-04-28 15:53:57

0001 # AUTO-GENERATED FILE -- DO NOT EDIT
0002 
0003 """ Conversion between binary data and ASCII """
0004 
0005 class Error(Exception):
0006 
0007   pass
0008 
0009 class Incomplete(Exception):
0010 
0011   pass
0012 
0013 __package__ = None
0014 
0015 def a2b_base64(ascii):
0016   """ (ascii) -> bin. Decode a line of base64 data """
0017   return None
0018 
0019 def a2b_hex(hexstr):
0020   """ a2b_hex(hexstr) -> s; Binary data of hexadecimal representation.
0021   
0022   hexstr must contain an even number of hex digits (upper or lower case).
0023   This function is also available as "unhexlify()" """
0024   return None
0025 
0026 def a2b_hqx(ascii):
0027   """ ascii -> bin, done. Decode .hqx coding """
0028   return None
0029 
0030 def a2b_qp():
0031   """ Decode a string of qp-encoded data """
0032   pass
0033 
0034 def a2b_uu(ascii):
0035   """ (ascii) -> bin. Decode a line of uuencoded data """
0036   return None
0037 
0038 def b2a_base64(bin):
0039   """ (bin) -> ascii. Base64-code line of data """
0040   return None
0041 
0042 def b2a_hex(data):
0043   """ b2a_hex(data) -> s; Hexadecimal representation of binary data.
0044   
0045   This function is also available as "hexlify()". """
0046   return None
0047 
0048 def b2a_hqx():
0049   """ Encode .hqx data """
0050   pass
0051 
0052 def b2a_qp(data, quotetabs=0, istext=1, header=0):
0053   """ b2a_qp(data, quotetabs=0, istext=1, header=0) -> s; 
0054    Encode a string using quoted-printable encoding. 
0055   
0056   On encoding, when istext is set, newlines are not encoded, and white 
0057   space at end of lines is.  When istext is not set, \\r and \\n (CR/LF) are 
0058   both encoded.  When quotetabs is set, space and tabs are encoded. """
0059   return None
0060 
0061 def b2a_uu(bin):
0062   """ (bin) -> ascii. Uuencode line of data """
0063   return None
0064 
0065 def crc32(data, arg0=None):
0066   """ (data, oldcrc = 0) -> newcrc. Compute CRC-32 incrementally """
0067   return None
0068 
0069 def crc_hqx(data, oldcrc):
0070   """ (data, oldcrc) -> newcrc. Compute hqx CRC incrementally """
0071   return None
0072 
0073 def hexlify(data):
0074   """ b2a_hex(data) -> s; Hexadecimal representation of binary data.
0075   
0076   This function is also available as "hexlify()". """
0077   return None
0078 
0079 def rlecode_hqx():
0080   """ Binhex RLE-code binary data """
0081   pass
0082 
0083 def rledecode_hqx():
0084   """ Decode hexbin RLE-coded string """
0085   pass
0086 
0087 def unhexlify(hexstr):
0088   """ a2b_hex(hexstr) -> s; Binary data of hexadecimal representation.
0089   
0090   hexstr must contain an even number of hex digits (upper or lower case).
0091   This function is also available as "unhexlify()" """
0092   return None
0093