# coding: utf-8 # AUTO-GENERATED FILE -- DO NOT EDIT """ Conversion between binary data and ASCII """ class Error(ValueError): pass class Incomplete(Exception): pass __doc__ = 'Conversion between binary data and ASCII' class __loader__(object): """ Meta path import for built-in modules. All methods are either class or static methods to avoid the need to instantiate the class. """ _ORIGIN = 'built-in' def create_module(self, spec): """ Create a built-in module """ pass def exec_module(self, module): """ Exec a built-in module """ pass def find_module(self, fullname, path=None): """ Find the built-in module. If 'path' is ever specified then the search is considered a failure. This method is deprecated. Use find_spec() instead. """ pass def find_spec(self, fullname, path=None, target=None): pass def get_code(self, fullname): """ Return None as built-in modules do not have code objects. """ pass def get_source(self, fullname): """ Return None as built-in modules do not have source code. """ pass def is_package(self, fullname): """ Return False as built-in modules are never packages. """ pass def load_module(self, fullname): """ Load the specified module into sys.modules and return it. This method is deprecated. Use loader.exec_module instead. """ pass def module_repr(self, module): """ Return repr for the module. The method is deprecated. The import machinery does the job itself. """ pass __name__ = 'binascii' __package__ = '' __spec__ = None def a2b_base64(data): """ Decode a line of base64 data. """ pass def a2b_hex(hexstr): """ Binary data of hexadecimal representation. hexstr must contain an even number of hex digits (upper or lower case). This function is also available as "unhexlify()". """ pass def a2b_hqx(data): """ Decode .hqx coding. """ pass def a2b_qp(data, header=False): """ Decode a string of qp-encoded data. """ pass def a2b_uu(data): """ Decode a line of uuencoded data. """ pass def b2a_base64(data, newline=True): """ Base64-code line of data. """ pass def b2a_hex(): """ Hexadecimal representation of binary data. sep An optional single character or byte to separate hex bytes. bytes_per_sep How many bytes between separators. Positive values count from the right, negative values count from the left. The return value is a bytes object. This function is also available as "hexlify()". Example: >>> binascii.b2a_hex(b'\\xb9\\x01\\xef') b'b901ef' >>> binascii.hexlify(b'\\xb9\\x01\\xef', ':') b'b9:01:ef' >>> binascii.b2a_hex(b'\\xb9\\x01\\xef', b'_', 2) b'b9_01ef' """ pass def b2a_hqx(data): """ Encode .hqx data. """ pass def b2a_qp(data, quotetabs=False, istext=True, header=False): """ Encode a string using quoted-printable encoding. On encoding, when istext is set, newlines are not encoded, and white space at end of lines is. When istext is not set, \\r and \\n (CR/LF) are both encoded. When quotetabs is set, space and tabs are encoded. """ pass def b2a_uu(data, backtick=False): """ Uuencode line of data. """ pass def crc32(data, crc=0): """ Compute CRC-32 incrementally. """ pass def crc_hqx(data, crc): """ Compute CRC-CCITT incrementally. """ pass def hexlify(): """ Hexadecimal representation of binary data. sep An optional single character or byte to separate hex bytes. bytes_per_sep How many bytes between separators. Positive values count from the right, negative values count from the left. The return value is a bytes object. This function is also available as "b2a_hex()". """ pass def rlecode_hqx(data): """ Binhex RLE-code binary data. """ pass def rledecode_hqx(data): """ Decode hexbin RLE-coded string. """ pass def unhexlify(hexstr): """ Binary data of hexadecimal representation. hexstr must contain an even number of hex digits (upper or lower case). """ pass