Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ ENCODE
Function
ENCODE
Lib/_pycodecs.py:834–839 ·
view source on GitHub ↗
(ch, bits)
Source
from the content-addressed store, hash-verified
832
833
834
def
ENCODE(ch, bits):
835
out = []
836
while
bits >= 6:
837
out += B64(ch >> (bits - 6))
838
bits -= 6
839
return
out, bits
840
841
842
def
_IS_BASE64(ch):
Callers
nothing calls this directly
Calls
1
B64
Function · 0.85
Tested by
no test coverage detected