| author | Fabian Huch <huch@in.tum.de> | 
| Fri, 01 Dec 2023 20:32:34 +0100 | |
| changeset 79101 | 4e47b34fbb8e | 
| 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; |