waratuman/elm-coder/3.0.0

NOTE: the latest version is 3.0.1

Base64

Library for base64 encoding and decoding according to RFC 4648.

encode : List Int -> Result String 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.

scheme : Scheme

The decoding / encoding scheme for base 64.