Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Glyphack/enderpy
/ decode_bytes
Function
decode_bytes
compat/ast_python.py:68–72 ·
view source on GitHub ↗
(value)
Source
from the content-addressed store, hash-verified
66
67
68
def
decode_bytes(value):
69
try
:
70
return
value.decode(
"utf-8"
)
71
except
:
72
return
codecs.getencoder(
"hex_codec"
)(value)[0].decode(
"utf-8"
)
73
74
75
def
ast2json(node):
Callers
1
get_value
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected