可用的回归测试通过的标准版本

This commit is contained in:
2026-06-18 00:39:43 +08:00
parent bffb0cb6b7
commit e02c867edf
365 changed files with 22562 additions and 24532 deletions

View File

@@ -0,0 +1,45 @@
"""
Auto-generated Python stub file from binascii.py
Module: binascii
"""
import t, c
HEX_CHARS: t.CExtern | list[t.CChar, None]
HEX_VALS: t.CExtern | list[t.CInt, 256]
B64_CHARS: t.CExtern | list[t.CChar, None]
B64_VALS: t.CExtern | list[t.CInt, 256]
HQX_CHARS: t.CExtern | list[t.CChar, 64]
HQX_VALS: t.CExtern | list[t.CInt, 256]
UU_CHARS: t.CExtern | list[t.CChar, None]
CRC32_TABLE: t.CExtern | list[t.CUnsignedInt, 256]
CRC_HQX_TABLE: t.CExtern | list[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