b64_encode
Encodes a byte string into a URL-safe Base64 format and removes any trailing padding characters.
def b64_encode(
s: bytes
) - > bytes
Encodes a byte string into a URL-safe Base64 format with all trailing padding characters removed.
Parameters
| Name | Type | Description |
|---|---|---|
| s | bytes | The raw byte string to be encoded into Base64 format. |
Returns
| Type | Description |
|---|---|
bytes | The URL-safe Base64 encoded byte string without the '=' padding characters. |