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

Method _read_uint8

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

Source from the content-addressed store, hash-verified

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]
1140
1141 def _read_uint16(self) -> int:
1142 return struct.unpack(f"{self._byteorder}H", self._path_or_buf.read(2))[0]

Callers 1

_read_strlsMethod · 0.95

Calls 1

readMethod · 0.45

Tested by

no test coverage detected