Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/pyload/pyload
/ transcode
Function
transcode
module/plugins/internal/misc.py:428–429 ·
view source on GitHub ↗
(value, decoding, encoding)
Source
from the content-addressed store, hash-verified
426
427
428
def
transcode(value, decoding, encoding):
429
return
value.decode(decoding).encode(encoding)
430
431
432
def
encode(value, encoding=
'utf-8'
, errors=
'backslashreplace'
):
Callers
1
encode
Function · 0.85
Calls
2
decode
Method · 0.80
encode
Method · 0.45
Tested by
no test coverage detected