waratuman/elm-coder/2.0.0

NOTE: this package is not compatible with Elm 0.19.1

Base64

Library for base64 encoding and decoding according to RFC 4648.

encode : List Int -> String

Encode a list of bytes into a base64 string.

decode : String -> Result String (List Int)

Decode a base64 string into a list of bytes.