Package

purescript-base64-codec

Repository
AlexaDeWit/purescript-base64-codec
License
Unlicense
Uploaded by
AlexaDeWit
Published on
2018-07-21

Module Data.Base64

encodeBase64

encodeBase64 :: ArrayBuffer -> Base64

Encodes an ArrayBuffer into the base64 representation thereof

decodeBase64

decodeBase64 :: Base64 -> Maybe ArrayBuffer

Attempt to decode base64 content to the array buffer(byte) representation it stored internally.

Base64

newtype Base64
  = Base64 String

A boxed Base64 type to prevent accidental misuse

Instances
Eq Base64
Show Base64
Modules
Data.Base64
Dependencies