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

Method _read_int32

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

Source from the content-addressed store, hash-verified

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]

Callers 1

_read_old_headerMethod · 0.95

Calls 1

readMethod · 0.45

Tested by

no test coverage detected