| author | wenzelm | 
| Sat, 30 Nov 2024 22:33:21 +0100 | |
| changeset 81519 | cdc43c0fdbfc | 
| 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; |