MCPcopy Create free account
hub / github.com/SkyworkAI/DeepResearchAgent / decode_file_base64

Function decode_file_base64

src/utils/utils.py:407–408  ·  view source on GitHub ↗
(data_base64: str)

Source from the content-addressed store, hash-verified

405 return base64.b64encode(data).decode("utf-8")
406
407def decode_file_base64(data_base64: str) -> bytes:
408 return base64.b64decode(data_base64)
409
410def make_file_url(file_path: str) -> str:
411 mime_type, _ = mimetypes.guess_type(file_path)

Callers 15

clickMethod · 0.90
double_clickMethod · 0.90
scrollMethod · 0.90
type_textMethod · 0.90
waitMethod · 0.90
moveMethod · 0.90
keypressMethod · 0.90
dragMethod · 0.90
get_stateMethod · 0.90
_tapMethod · 0.90
_type_textMethod · 0.90
_scrollMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected