(self)
| 1151 | return struct.unpack(f"{self._byteorder}h", self._path_or_buf.read(2))[0] |
| 1152 | |
| 1153 | def _read_int32(self) -> int: |
| 1154 | return struct.unpack(f"{self._byteorder}i", self._path_or_buf.read(4))[0] |
| 1155 | |
| 1156 | def _read_int64(self) -> int: |
| 1157 | return struct.unpack(f"{self._byteorder}q", self._path_or_buf.read(8))[0] |