|
| 1 | +import sys |
| 2 | +from _typeshed import ReadableBuffer |
| 3 | +from hashlib import _Hash |
| 4 | + |
| 5 | +VERSION: str |
| 6 | +XXHASH_VERSION: str |
| 7 | + |
| 8 | +class _IntDigestHash(_Hash): |
| 9 | + def intdigest(self) -> int: ... |
| 10 | + |
| 11 | +# python-xxhash v2.0.0 does not support the string or usedforsecurity kwargs |
| 12 | +def xxh32(__string: ReadableBuffer = ...) -> _IntDigestHash: ... |
| 13 | +def xxh64(__string: ReadableBuffer = ...) -> _IntDigestHash: ... |
| 14 | +def xxh3_64(__string: ReadableBuffer = ...) -> _IntDigestHash: ... |
| 15 | +def xxh3_128(__string: ReadableBuffer = ...) -> _IntDigestHash: ... |
| 16 | +def xxh32_digest(input: ReadableBuffer = ...) -> bytes: ... |
| 17 | +def xxh32_intdigest(input: ReadableBuffer = ...) -> bytes: ... |
| 18 | +def xxh32_hexdigest(input: ReadableBuffer = ...) -> bytes: ... |
| 19 | +def xxh64_digest(input: ReadableBuffer = ...) -> bytes: ... |
| 20 | +def xxh64_intdigest(input: ReadableBuffer = ...) -> bytes: ... |
| 21 | +def xxh64_hexdigest(input: ReadableBuffer = ...) -> bytes: ... |
| 22 | +def xxh3_64_digest(input: ReadableBuffer = ...) -> bytes: ... |
| 23 | +def xxh3_64_intdigest(input: ReadableBuffer = ...) -> bytes: ... |
| 24 | +def xxh3_64_hexdigest(input: ReadableBuffer = ...) -> bytes: ... |
| 25 | +def xxh3_128_digest(input: ReadableBuffer = ...) -> bytes: ... |
| 26 | +def xxh3_128_intdigest(input: ReadableBuffer = ...) -> bytes: ... |
| 27 | +def xxh3_128_hexdigest(input: ReadableBuffer = ...) -> bytes: ... |
| 28 | +def xxh128_digest(input: ReadableBuffer = ...) -> bytes: ... |
| 29 | +def xxh128_intdigest(input: ReadableBuffer = ...) -> bytes: ... |
| 30 | +def xxh128_hexdigest(input: ReadableBuffer = ...) -> bytes: ... |
0 commit comments