MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / urlsafe_b64encode

Function urlsafe_b64encode

src/commoncode/codec.py:46–50  ·  view source on GitHub ↗

Encode a binary string to a url safe base64 encoding.

(s)

Source from the content-addressed store, hash-verified

44
45
46def urlsafe_b64encode(s):
47 """
48 Encode a binary string to a url safe base64 encoding.
49 """
50 return b64encode(s)
51
52
53def urlsafe_b64decode(b64):

Callers 1

b64digestMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected