Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data BaseEncoding
- encodeWith :: BaseEncoding -> ByteString -> Text
- decodeWith :: BaseEncoding -> Text -> Either String ByteString
Documentation
data BaseEncoding Source #
Constructors to indicate the base encodings
encodeWith :: BaseEncoding -> ByteString -> Text Source #
Encode ByteString
with Base
encoding, produce Text
.
decodeWith :: BaseEncoding -> Text -> Either String ByteString Source #
Take the input & Base
encoding witness -> decode into Text
.