MCPcopy Create free account
hub / github.com/Fadi002/de4py / d

Method d

de4py/engines/onyx/string_decoder.py:217–221  ·  view source on GitHub ↗
(m)

Source from the content-addressed store, hash-verified

215 r'(?:\.decode\s*\([^)]*\))?'
216 )
217 def d(m):
218 try:
219 return repr(base64.b32decode(m.group(2).replace('\n','').replace(' ','')).decode('utf-8', errors='replace'))
220 except Exception:
221 return m.group(0)
222 return pattern.sub(d, source)
223
224 def _decode_base85_calls(self, source: str) -> str:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected