Module Kappa_generic_toolset.Base64
val uri_safe_alphabet : stringA 64-character string specifying the URI- and filename-safe Base64 alphabet.
val decode : ?alphabet:string -> string -> Bigbuffer.bigstringdecode sdecodes the stringsthat is encoded in Base64 format. Will leave trailing NULLs on the string, padding it out to a multiple of 3 characters.alphabetdefaults todefault_alphabet.- raises Not_found
if
sis not a valid Base64 string.
val encode : ?pad:bool -> ?alphabet:string -> Bigbuffer.bigstring -> stringencode sencodes the stringsinto base64. Ifpadis false, no trailing padding is added.paddefaults totrue, andalphabettodefault_alphabet.