MCPcopy Index your code
hub / github.com/Tencent/CodeAnalysis / __encode

Function __encode

server/projects/main/util/cdcrypto.py:24–27  ·  view source on GitHub ↗
(content)

Source from the content-addressed store, hash-verified

22
23
24def __encode(content):
25 if type(content) == str:
26 content = content.encode("utf-8")
27 return content
28
29
30def __decode(content):

Callers 2

encryptFunction · 0.70
decryptFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected