src/Pure/General/base64.ML
author wenzelm
Mon, 13 Mar 2023 11:02:26 +0100
changeset 77622 f458547b4f0f
parent 76183 8089593a364a
permissions -rw-r--r--
clarified signature (again, see also 8c64e51d9dde and 268bf61631ec);

(*  Title:      Pure/General/base64.ML
    Author:     Makarius

Support for Base64 data encoding (via Isabelle/Scala).
*)

signature BASE64 =
sig
  val decode: Bytes.T -> Bytes.T
  val encode: Bytes.T -> Bytes.T
end;

structure Base64: BASE64 =
struct

val decode = \<^scala>\<open>Base64.decode\<close>;
val encode = \<^scala>\<open>Base64.encode\<close>;

end;