MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / string_to_bytes

Function string_to_bytes

keepercommander/utils.py:200–201  ·  view source on GitHub ↗
(string)

Source from the content-addressed store, hash-verified

198
199
200def string_to_bytes(string):
201 return string.encode('utf-8')
202
203
204def json_to_base64(json_str):

Callers 10

executeMethod · 0.90
executeMethod · 0.90
pam_configuration_createFunction · 0.90
route_message_to_rustFunction · 0.90
_send_restart_offerMethod · 0.90
start_rust_tunnelFunction · 0.90
json_to_base64Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected