author | wenzelm |
Tue, 10 Dec 2024 16:37:09 +0100 | |
changeset 81569 | f8b28356ab94 |
parent 76183 | 8089593a364a |
permissions | -rw-r--r-- |
76183 | 1 |
(* Title: Pure/General/base64.ML |
75620 | 2 |
Author: Makarius |
3 |
||
4 |
Support for Base64 data encoding (via Isabelle/Scala). |
|
5 |
*) |
|
6 |
||
7 |
signature BASE64 = |
|
8 |
sig |
|
9 |
val decode: Bytes.T -> Bytes.T |
|
10 |
val encode: Bytes.T -> Bytes.T |
|
11 |
end; |
|
12 |
||
13 |
structure Base64: BASE64 = |
|
14 |
struct |
|
15 |
||
75621 | 16 |
val decode = \<^scala>\<open>Base64.decode\<close>; |
17 |
val encode = \<^scala>\<open>Base64.encode\<close>; |
|
75620 | 18 |
|
19 |
end; |