MCPcopy 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
45def decode_bytes(value):
46 try:
47 return value.encode("utf-8", errors="replace")
48 except:
49 return hex_decode(value)
50
51
52if sys.version_info.major == 3:

Callers 2

decode_strFunction · 0.85
get_valueFunction · 0.85

Calls 1

hex_decodeFunction · 0.85

Tested by

no test coverage detected