MCPcopy Create free account
hub / github.com/daniel2005d/mapXplore / isHexa

Method isHexa

utils/utils.py:116–118  ·  view source on GitHub ↗
(text:str)

Source from the content-addressed store, hash-verified

114
115 @staticmethod
116 def isHexa(text:str)->bool:
117 decoded = text.encode('unicode_escape').decode('utf-8', 'backslashreplace')
118 return '\\x' in decoded
119
120 @staticmethod
121 def remove_invalidchars(text:str, valid_chars:list[str])->str:

Callers 1

decodeMethod · 0.80

Calls 1

decodeMethod · 0.80

Tested by

no test coverage detected