Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
26
def
o8(i: int) -> bytes:
27
return
bytes((i & 255,))
28
29
30
# Input, le = little endian, be = big endian
Callers
15
test_largest_cursor
Function · 0.90
_bitmap
Method · 0.85
decode
Method · 0.85
_save
Function · 0.85
getpalette
Method · 0.85
_save
Function · 0.85
_open
Method · 0.85
_save
Function · 0.85
_open
Method · 0.85
decode
Method · 0.85
_write_local_header
Function · 0.85
_get_header_palette
Function · 0.85
Calls
no outgoing calls
Tested by
1
test_largest_cursor
Function · 0.72