MCPcopy Index your code
hub / github.com/python-pillow/Pillow / o8

Function o8

src/PIL/_binary.py:26–27  ·  view source on GitHub ↗
(i: int)

Source from the content-addressed store, hash-verified

24
25
26def o8(i: int) -> bytes:
27 return bytes((i & 255,))
28
29
30# Input, le = little endian, be = big endian

Callers 15

test_largest_cursorFunction · 0.90
_bitmapMethod · 0.85
decodeMethod · 0.85
_saveFunction · 0.85
getpaletteMethod · 0.85
_saveFunction · 0.85
_openMethod · 0.85
_saveFunction · 0.85
_openMethod · 0.85
decodeMethod · 0.85
_write_local_headerFunction · 0.85
_get_header_paletteFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_largest_cursorFunction · 0.72