Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e610de commit 5b5ee69Copy full SHA for 5b5ee69
1 file changed
Lib/gzip.py
@@ -16,18 +16,6 @@
16
17
READ, WRITE = 1, 2
18
19
-def U32(i):
20
- """Return i as an unsigned integer, assuming it fits in 32 bits.
21
- If it's >= 2GB when viewed as a 32-bit unsigned int, return a long.
22
- """
23
- if i < 0:
24
- i += 1 << 32
25
- return i
26
-
27
-def LOWU32(i):
28
- """Return the low-order 32 bits, as a non-negative int"""
29
- return i & 0xFFFFFFFF
30
31
def write32u(output, value):
32
# The L format writes the bit pattern correctly whether signed
33
# or unsigned.
0 commit comments