Base64Url

decodeStr : Str -> List U8

Decode a Str of Base64Url encoded string.

This function will silently ignore any problems with the Base64Url input.

tryDecodeStr : Str -> Result (List U8) Error.Base64DecodingError

Try decode a Str of Base64Url encoded string.

In case of any non-Base64Url characters - returns Err [MalformedBase64Input]

tryDecodeUtf8 : List U8 -> Result (List U8) Error.Base64DecodingError

Try decode a List U8 of Base64Url encoded string.

In case of any non-Base64Url characters - returns Err [MalformedBase64Input]

decodeUtf8 : List U8 -> List U8

Decode a List U8 of Base64Url encoded string.

This function will silently ignore any problems with the Base64Url input.

encodeUtf8 : List U8 -> List U8

Encode a List U8 to Base64 encoded string.

encodeStr : Str -> List U8

Encode a Str to Base64 encoded string.

encodeStrToStr : Str -> Str

Encode a Str to Base64 encoded string.

encodeUtf8ToStr : List U8 -> Str

Encode a List U8 to Base64 encoded string.