Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SourceCode-AI/aura
/ decode_bytes
Function
decode_bytes
aura/analyzers/python_src_inspector.py:45–49 ·
view source on GitHub ↗
(value)
Source
from the content-addressed store, hash-verified
43
44
45
def
decode_bytes(value):
46
try
:
47
return
value.encode(
"utf-8"
, errors=
"replace"
)
48
except
:
49
return
hex_decode(value)
50
51
52
if
sys.version_info.major == 3:
Callers
2
decode_str
Function · 0.85
get_value
Function · 0.85
Calls
1
hex_decode
Function · 0.85
Tested by
no test coverage detected