Copyright | (c) 2019 Emily Pillmore |
---|---|
License | BSD-style |
Maintainer | Emily Pillmore <emilypi@cohomolo.gy> |
Stability | Experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
This module contains the combinators implementing the RFC 4648 specification for the Base16 encoding including unpadded and lenient variants
Synopsis
- encodeBase16 :: Text -> Text
- decodeBase16 :: Text -> Either Text Text
- isBase16 :: Text -> Bool
- isValidBase16 :: Text -> Bool
Documentation
encodeBase16 :: Text -> Text Source #
Encode a Text
value in Base16 with padding.
See: RFC-4648 section 8
decodeBase16 :: Text -> Either Text Text Source #
Decode a padded Base16-encoded Text
value
See: RFC-4648 section 8