"""
Auto-generated Python stub file from binascii.py
Module: binascii
"""


import t, c

HEX_CHARS: t.CExtern | t.CArray[t.CChar, None]
HEX_VALS: t.CExtern | t.CArray[t.CInt, 256]
B64_CHARS: t.CExtern | t.CArray[t.CChar, None]
B64_VALS: t.CExtern | t.CArray[t.CInt, 256]
HQX_CHARS: t.CExtern | t.CArray[t.CChar, 64]
HQX_VALS: t.CExtern | t.CArray[t.CInt, 256]
UU_CHARS: t.CExtern | t.CArray[t.CChar, None]
CRC32_TABLE: t.CExtern | t.CArray[t.CUnsignedInt, 256]
CRC_HQX_TABLE: t.CExtern | t.CArray[t.CUnsignedShort, 256]

def init_binascii() -> t.CInt: pass

def crc32(data: str, length: t.CInt, crc: t.CUnsignedInt) -> t.CUnsignedInt: pass

def crc_hqx(data: str, length: t.CInt, crc: t.CUnsignedShort) -> t.CUnsignedShort: pass

def hexlify(data: str, length: t.CInt) -> str: pass

def b2a_hex(data: str, length: t.CInt) -> str: pass

def a2b_hex(hexstr: str, length: t.CInt) -> str: pass

def unhexlify(data: str, length: t.CInt) -> t.CInt: pass

def b2a_base64(data: str, length: t.CInt) -> str: pass

def a2b_base64(data: str, length: t.CInt) -> str: pass

def b2a_uu(data: str, length: t.CInt) -> str: pass

def a2b_uu(data: str) -> str: pass

def b2a_hqx(data: str, length: t.CInt, crc: t.CUnsignedShort) -> tuple[str, t.CUnsignedShort]: pass

def a2b_hqx(data: str, crc: t.CUnsignedShort) -> tuple[str, t.CUnsignedShort]: pass

def adler32(data: str, length: t.CInt, adler: t.CUnsignedInt) -> t.CUnsignedInt: pass
