src/Pure/General/base64.ML
author wenzelm
Mon, 17 Oct 2022 12:15:23 +0200
changeset 76322 43e66527fa93
parent 76183 8089593a364a
permissions -rw-r--r--
tuned signature;

(*  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;