src/Pure/General/base64.ML
author wenzelm
Sat, 01 Jun 2024 12:35:38 +0200
changeset 80225 d9ff4296e3b7
parent 76183 8089593a364a
permissions -rw-r--r--
unused;

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