The URL-safe Base64 text of input, with no = padding.
base64url_encode :: (input: string) -> string
The result is allocated with the context allocator. The caller frees it.
Parameters
- input: string
Returns
- string
encoded := base64url_encode("\xfb\xff");
defer free(encoded);
assert(encoded == "-_8");