Http.Base64
base64
and base64url
codecs.
As defined in RFC 4684.
The type for decoding errors. The boolean is true
if that was a base64url
decode.
val error_message : error -> string
error_message e
is an error message for e
.
val error_string : ('a, error) Stdlib.result -> ('a, string) Stdlib.result
error_string r
is Result.map_error error_message r
.
base64
encode s
is the base64
encoding of s
.
base64url