Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PierreGode/Ragnar
/ byte2int
Function
byte2int
pager_lib/six.py:683–684 ·
view source on GitHub ↗
(bs)
Source
from the content-addressed store, hash-verified
681
int2byte = chr
682
683
def
byte2int(bs):
684
return
ord(bs[0])
685
686
def
indexbytes(buf, i):
687
return
ord(buf[i])
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected