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

Method from_offset

src/docx/image/png.py:190–192  ·  view source on GitHub ↗

Return a default _Chunk instance that only knows its chunk type.

(cls, chunk_type, stream_rdr, offset)

Source from the content-addressed store, hash-verified

188
189 @classmethod
190 def from_offset(cls, chunk_type, stream_rdr, offset):
191 """Return a default _Chunk instance that only knows its chunk type."""
192 return cls(chunk_type)
193
194 @property
195 def type_name(self):

Calls

no outgoing calls