ivadzy/bbase64/1.0.1

NOTE: the latest version is 1.1.1

Renamed to chelovek0v/bbase64. It is published under that name, and new versions come out there.

Versions published as ivadzy/bbase64 still install under that name. 4 versions of 4 come from the new location (see their notes).

Rerouted (renamed, verified). The GitHub user or repository was renamed. The tag is still there, at the new name. The Lamdera package server serves a copy recovered from https://github.com/chelovek0v/bbase64.

What we checked: The repo moved to github.com/chelovek0v/bbase64. Rebuilt with git archive from commit 2e085fc69e74 of https://github.com/chelovek0v/bbase64 (zip prefix ivadzy-bbase64-2e085fc/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 d44042aca3fcccbdf01dda6ad5ae1e1ed3098a75.

The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.

Details · package.elm-lang.org's zip: https://github.com/ivadzy/bbase64/zipball/1.0.1/

Base64.Decode

The Decode module enables you to decode Base64 strings into certain values.

Decoders

type Decoder a

A decoder type that knows how to decode a Base64 string.

string : Decoder String

String Decoder.

bytes : Decoder Bytes

Bytes Decoder.

Decoding

decode : Decoder a -> String -> Result Error a

Turn a Decoder into a certain value.

Decoding can fail, see Error.

type Error
= ValidationError
| InvalidByteSequence

Errors that can occur during a decoding:

Base64.Decode.decode Base64.Decode.string "a===" == Err ValidationError


Base64.Decode.decode Base64.Decode.string "/Ng9" == Err InvalidByteSequence