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

Method try_convert_b64

utils/utils.py:75–78  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

73
74 @staticmethod
75 def try_convert_b64(text)->tuple[bytes,str]:
76 b64bytes = b64decode(text)
77 data_format = Util.get_data_type(text)
78 return b64bytes,data_format
79
80 @staticmethod
81 def get_data_type(content:bytes)->str:

Callers

nothing calls this directly

Calls 1

get_data_typeMethod · 0.80

Tested by

no test coverage detected