module Base64:sig..end
val encode : ?sz:int -> char Stream.t -> stringencode ~sz st returns the contents of the stream st encoded
in base64. sz (defaulting to 256) is the initial size of the buffer
used during encoding.val encode_string : string -> stringencode_string s returns the contents of the string s encoded in
base64.val encode_channel : Pervasives.in_channel -> stringencode_channel ch returns the contents of the channel ch (from
the current position to the end of the channel) encoded in base64.
Raises an exception if an i/o error occurs.
val encode_file : string -> stringencode_file f returns the contents of the file f encoded in
base64.
Raises an exception if either the file does not exist,
or an i/o error occurs.