MCPcopy Create free account
hub / github.com/mpdavis/python-jose / long_to_base64

Function long_to_base64

jose/utils.py:26–27  ·  view source on GitHub ↗
(data, size=0)

Source from the content-addressed store, hash-verified

24
25
26def long_to_base64(data, size=0):
27 return base64.urlsafe_b64encode(long_to_bytes(data, size)).strip(b"=")
28
29
30def int_arr_to_long(arr):

Callers 4

to_dictMethod · 0.90
to_dictMethod · 0.90
to_dictMethod · 0.85
to_dictMethod · 0.85

Calls 1

long_to_bytesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…