Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python-openxml/python-docx
/ _unpack_item
Method
_unpack_item
src/docx/image/helpers.py:84–86 ·
view source on GitHub ↗
(self, struct, base, offset)
Source
from the content-addressed store, hash-verified
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)
86
return
struct.unpack(bytes_)[0]
Callers
2
read_str
Method · 0.95
_read_int
Method · 0.95
Calls
1
_read_bytes
Method · 0.95
Tested by
no test coverage detected