b0_b00_kit
B00_base64
Base64 codec.
Codecs Base64 according to RFC 4684.
opam
b0
b0.b0
b0.b00
b0.kit
b0.std
val encode : string -> string
encode s is the Base64 encoding of s.
encode s
s
val decode : string -> (string, int) Stdlib.result
decode s is the Base64 decode of s. In case of error the integer indicates the byte index of the error for an invalid alphabet character error or the length of the string if the string length is not a multiple of 4.
decode s
4