Convert a 32-bit integer to little-endian.
(x)
| 77 | |
| 78 | |
| 79 | def _pack_uint32(x): |
| 80 | """Convert a 32-bit integer to little-endian.""" |
| 81 | return (int(x) & 0xFFFFFFFF).to_bytes(4, 'little') |
| 82 | |
| 83 | |
| 84 | def _unpack_uint64(data): |
no outgoing calls
no test coverage detected
searching dependent graphs…