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

Function read_32

src/docx/image/image.py:172–174  ·  view source on GitHub ↗
(stream: IO[bytes])

Source from the content-addressed store, hash-verified

170 from docx.image import SIGNATURES
171
172 def read_32(stream: IO[bytes]):
173 stream.seek(0)
174 return stream.read(32)
175
176 header = read_32(stream)
177 for cls, offset, signature_bytes in SIGNATURES:

Callers 1

_ImageHeaderFactoryFunction · 0.85

Calls 2

seekMethod · 0.80
readMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…