MCPcopy Create free account
hub / github.com/ElementsProject/elements / str_to_b64str

Function str_to_b64str

test/functional/test_framework/util.py:230–231  ·  view source on GitHub ↗
(string)

Source from the content-addressed store, hash-verified

228
229
230def str_to_b64str(string):
231 return b64encode(string.encode('utf-8')).decode('ascii')
232
233
234def ceildiv(a, b):

Callers 3

call_with_authFunction · 0.90
rpccallFunction · 0.90
run_testMethod · 0.90

Calls 2

decodeMethod · 0.45
encodeMethod · 0.45

Tested by

no test coverage detected