MCPcopy Index your code
hub / github.com/python-openxml/python-docx / _read_int

Method _read_int

src/docx/image/helpers.py:80–82  ·  view source on GitHub ↗
(self, fmt, base, offset)

Source from the content-addressed store, hash-verified

78 return bytes_
79
80 def _read_int(self, fmt, base, offset):
81 struct = Struct(fmt)
82 return self._unpack_item(struct, base, offset)
83
84 def _unpack_item(self, struct, base, offset):
85 bytes_ = self._read_bytes(struct.size, base, offset)

Callers 3

read_byteMethod · 0.95
read_longMethod · 0.95
read_shortMethod · 0.95

Calls 1

_unpack_itemMethod · 0.95

Tested by

no test coverage detected