Module Kappa_generic_toolset.Base64
- val uri_safe_alphabet : string
- A 64-character string specifying the URI- and filename-safe Base64 alphabet. 
- val decode : ?alphabet:string -> string -> Bigbuffer.bigstring
- decode sdecodes the string- sthat is encoded in Base64 format. Will leave trailing NULLs on the string, padding it out to a multiple of 3 characters.- alphabetdefaults to- default_alphabet.- raises Not_found
- if - sis not a valid Base64 string.
 
- val encode : ?pad:bool -> ?alphabet:string -> Bigbuffer.bigstring -> string
- encode sencodes the string- sinto base64. If- padis false, no trailing padding is added.- paddefaults to- true, and- alphabetto- default_alphabet.