Module

JS.Runtime.Encoding

Package
purescript-js-runtime
Repository
rowtype-yoga/purescript-js-runtime

#decodeBase64Binary Source

decodeBase64Binary :: String -> Effect String

Browser binary-string decoding. Invalid input throws the native exception.

#decodeBinaryUtf8 Source

decodeBinaryUtf8 :: String -> Effect String

Interpret a binary string as UTF-8. Malformed UTF-8 throws URIError.