Reads from fobj and returns hkey (128 bits integer).
(buff: bytes)
| 64 | |
| 65 | |
| 66 | def _read_hkey(buff: bytes) -> int: |
| 67 | """Reads from fobj and returns hkey (128 bits integer).""" |
| 68 | a, b = struct.unpack('=QQ', buff) |
| 69 | return (a << 64) | b |
| 70 | |
| 71 | |
| 72 | def _increase_open_files_limit(): |