Kappa_data_structures.Base64Base64 RFC4648 implementation.
Base64 is a group of similar binary-to-text encoding schemes that represent binary data in an ASCII string format by translating it into a radix-64 representation. It is specified in RFC 4648.
Release %%VERSION%% - %%PKG_HOMEPAGE%%
A 64-character string specifying the URI- and filename-safe Base64 alphabet.
val decode : ?alphabet:string -> string -> Bigbuffer.bigstringdecode s decodes the string s that is encoded in Base64 format. Will leave trailing NULLs on the string, padding it out to a multiple of 3 characters. alphabet defaults to default_alphabet.
val encode : ?pad:bool -> ?alphabet:string -> Bigbuffer.bigstring -> stringencode s encodes the string s into base64. If pad is false, no trailing padding is added. pad defaults to true, and alphabet to default_alphabet.