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