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

Method _read_int8

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

Source from the content-addressed store, hash-verified

1133 self._encoding = "utf-8"
1134
1135 def _read_int8(self) -> int:
1136 return struct.unpack("b", self._path_or_buf.read(1))[0]
1137
1138 def _read_uint8(self) -> int:
1139 return struct.unpack("B", self._path_or_buf.read(1))[0]

Callers 3

_get_data_labelMethod · 0.95
_get_time_stampMethod · 0.95
_read_old_headerMethod · 0.95

Calls 1

readMethod · 0.45

Tested by

no test coverage detected