Base64 encoding and decoding


License
MIT
Install
elm-package install truqu/elm-base64 2.0.3

Documentation

Elm-Base64

Build Status

A base 64 encoding and decoding library for Elm.

Usage

Add the import to the elm module where you want to do some base64 en- or decoding.

import Base64

To decode a String use

decode : String -> Result String String
decode encodedString = Base64.decode encodedString

To encode a String use

encode : String -> String
encode regularString = Base64.encode regularString