Base64

decode

defn

(Fn [(Ref String a)] (Array Byte))

                    (decode x)
                

Decodes a base64-encoded datum using mime-charset.

decode-str

defn

(Fn [(Ref String a)] String)

                    (decode-str s)
                

Decodes a base64-encoded string using mime-charset.

decode-using

defn

(Fn [(Ref (Array Byte) a), (Ref Byte b), (Ref String c)] (Array Byte))

                    (decode-using charset padding s)
                

Decodes a base64-encoded datum using a user-supplied character set.

encode

defn

(Fn [(Ref (Array Byte) a)] String)

                    (encode s)
                

Encodes a datum into base64 using mime-charset.

encode-str

defn

(Fn [(Ref String a)] String)

                    (encode-str s)
                

Encodes a string into base64 using mime-charset.

encode-using

defn

(Fn [(Ref (Array Byte) a), Byte, (Ref (Array Byte) b)] String)

                    (encode-using charset pad s)
                

Encodes a base64-encoded datum using a user-supplied character set.

mime-charset

def

(Array Byte)

The Base64 character set as specified by MIME.

mime-padding

def

Byte

The Base64 padding as specified by MIME.