module BatBase64:Base64 codec.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).
Author(s): Nicolas Cannasse
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 BatIO.output -> 'a BatIO.output
val decode : ?tbl:decoding_table -> BatIO.input -> BatIO.input
val make_decoding_table : encoding_table -> decoding_table