-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | RFC 4648-compliant Base32 encodings/decodings
--
-- RFC 4648-compliant Base32 encodings and decodings. This library
-- provides performant encoding and decoding primitives, as well as
-- support for textual values.
@package base32
@version 0.1.0.0
-- | This module contains the combinators implementing the RFC 4648
-- specification for the Base32-Hex encoding including unpadded and
-- lenient variants
module Data.ByteString.Base32.Hex
-- | Encode a ByteString value as a Base32hex Text value with
-- padding.
--
-- See: RFC-4648 section 5
encodeBase32 :: ByteString -> Text
-- | Encode a ByteString as a Base32hex ByteString value with
-- padding.
--
-- See: RFC-4648 section 5
encodeBase32' :: ByteString -> ByteString
-- | Decode a padded Base32hex encoded ByteString value.
--
-- See: RFC-4648 section 4
decodeBase32 :: ByteString -> Either Text ByteString
-- | Encode a ByteString as a Base32hex Text value without
-- padding.
--
-- See: RFC-4648 section 5
encodeBase32Unpadded :: ByteString -> Text
-- | Encode a ByteString as a Base32hex ByteString value
-- without padding.
--
-- See: RFC-4648 section 5
encodeBase32Unpadded' :: ByteString -> ByteString
-- | Decode an arbitrarily padded Base32hex encoded ByteString
-- value.
--
-- See: RFC-4648 section 4
decodeBase32Unpadded :: ByteString -> Either Text ByteString
-- | Tell whether a ByteString is Base32hex-encoded.
isBase32Hex :: ByteString -> Bool
-- | Tell whether a ByteString is a valid Base32hex format.
--
-- This will not tell you whether or not this is a correct Base32hex
-- representation, only that it conforms to the correct shape. To check
-- whether it is a true Base32 encoded ByteString value, use
-- isBase32Hex.
isValidBase32Hex :: ByteString -> Bool
-- | This module contains the combinators implementing the RFC 4648
-- specification for the Base32 encoding including unpadded and lenient
-- variants
module Data.ByteString.Base32
-- | Encode a ByteString value as Base32 Text with padding.
--
-- See: RFC-4648 section 4
encodeBase32 :: ByteString -> Text
-- | Encode a ByteString value as a Base32 ByteString value
-- with padding.
--
-- See: RFC-4648 section 4
encodeBase32' :: ByteString -> ByteString
-- | Decode a padded Base32-encoded ByteString value.
--
-- See: RFC-4648 section 4
decodeBase32 :: ByteString -> Either Text ByteString
-- | Encode a ByteString value as a Base32 Text value without
-- padding.
--
-- See: RFC-4648 section 4
encodeBase32Unpadded :: ByteString -> Text
-- | Encode a ByteString value as a Base32 ByteString value
-- with padding.
--
-- See: RFC-4648 section 4
encodeBase32Unpadded' :: ByteString -> ByteString
-- | Decode an arbitarily padded Base32-encoded ByteString value.
--
-- See: RFC-4648 section 4
decodeBase32Unpadded :: ByteString -> Either Text ByteString
-- | Tell whether a ByteString value is base32 encoded.
isBase32 :: ByteString -> Bool
-- | Tell whether a ByteString value is a valid Base32 format.
--
-- This will not tell you whether or not this is a correct Base32
-- representation, only that it conforms to the correct shape. To check
-- whether it is a true Base32 encoded ByteString value, use
-- isBase32.
isValidBase32 :: ByteString -> Bool
-- | This module contains the combinators implementing the RFC 4648
-- specification for the Base32 encoding including unpadded and lenient
-- variants
module Data.Text.Encoding.Base32
-- | Encode a Text value in Base32 with padding.
--
-- See: RFC-4648 section 4
encodeBase32 :: Text -> Text
-- | Decode a padded Base32-encoded Text value
--
-- See: RFC-4648 section 4
decodeBase32 :: Text -> Either Text Text
-- | Encode a Text value in Base32 without padding.
--
-- See: RFC-4648 section 4
encodeBase32Unpadded :: Text -> Text
-- | Decode an arbitrarily padded Base32-encoded Text
--
-- See: RFC-4648 section 3.2
decodeBase32Unpadded :: Text -> Either Text Text
-- | Tell whether a Text value is Base32-encoded.
isBase32 :: Text -> Bool
-- | Tell whether a Text value is a valid Base32 format.
--
-- This will not tell you whether or not this is a correct Base32
-- representation, only that it conforms to the correct shape. To check
-- whether it is a true Base32 encoded Text value, use
-- isBase32.
isValidBase32 :: Text -> Bool
-- | This module contains the combinators implementing the RFC 4648
-- specification for the Base32-Hex encoding including unpadded and
-- lenient variants
module Data.Text.Encoding.Base32.Hex
-- | Encode a Text value in Base32hex with padding.
--
-- See: RFC-4648 section 5
encodeBase32 :: Text -> Text
-- | Decode a padded Base32hex-encoded Text value.
--
-- See: RFC-4648 section 4
decodeBase32 :: Text -> Either Text Text
-- | Encode a Text value in Base32hex without padding.
--
-- See: RFC-4648 section 3.2
encodeBase32Unpadded :: Text -> Text
-- | Decode an arbitrarily padded Base32hex encoded Text value
--
-- See: RFC-4648 section 4
decodeBase32Unpadded :: Text -> Either Text Text
-- | Tell whether a Text value is Base32hex-encoded.
isBase32Hex :: Text -> Bool
-- | Tell whether a Text value is a valid Base32hex format.
--
-- This will not tell you whether or not this is a correct Base32hex
-- representation, only that it conforms to the correct shape. To check
-- whether it is a true Base32 encoded Text value, use
-- isBase32Hex.
isValidBase32Hex :: Text -> Bool