| author | paulson <lp15@cam.ac.uk> |
| Thu, 06 Feb 2025 16:20:52 +0000 | |
| changeset 82097 | 25dd3726fd00 |
| 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; |