MCPcopy
hub / github.com/pandas-dev/pandas / _read_int64

Method _read_int64

pandas/io/stata.py:1156–1157  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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]
1158
1159 def _read_char8(self) -> bytes:
1160 return struct.unpack("c", self._path_or_buf.read(1))[0]

Callers 2

_read_new_headerMethod · 0.95

Calls 1

readMethod · 0.45

Tested by

no test coverage detected