src/Pure/General/base64.ML
changeset 75620 44815dc2b8f9
child 75621 aeb412065742
equal deleted inserted replaced
75619:9639c3867b86 75620:44815dc2b8f9
       
     1 (*  Title:      Pure/System/base64.ML
       
     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 
       
    16 val decode = Scala.function1_bytes "Base64.decode";
       
    17 val encode = Scala.function1_bytes "Base64.encode";
       
    18 
       
    19 end;