module Base64:sig
..end
8-bit characters are encoded into 6-bit ones using ASCII lookup tables.
Default tables maps 0..63 values on characters A-Z, a-z, 0-9, '+' and '/'
(in that order).
exception Invalid_char
exception Invalid_table
typeencoding_table =
char array
typedecoding_table =
int array
val str_encode : ?tbl:encoding_table -> string -> string
val str_decode : ?tbl:decoding_table -> string -> string
Invalid_char
if a
character in the input string is not a valid one.val encode : ?tbl:encoding_table -> 'a IO.output -> 'a IO.output
val decode : ?tbl:decoding_table -> IO.input -> IO.input
val make_decoding_table : encoding_table -> decoding_table