MCPcopy
hub / github.com/python-pillow/Pillow / read

Function read

src/PIL/PsdImagePlugin.py:198–199  ·  view source on GitHub ↗
(size: int)

Source from the content-addressed store, hash-verified

196 layers = []
197
198 def read(size: int) -> bytes:
199 return ImageFile._safe_read(fp, size)
200
201 ct = si16(read(2))
202

Callers 5

_bitmapMethod · 0.85
loadMethod · 0.85
_openMethod · 0.85
_layerinfoFunction · 0.85
_maketileFunction · 0.85

Calls 1

_safe_readMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…