-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Fast and safe representation of a hex string
--
@package hexstring
@version 0.10.0
module Data.HexString
-- | Represents a Hex string. Guarantees that all characters it contains
-- are valid hex characters.
data HexString
-- | Smart constructor which validates that all the text are actually
-- hexadecimal characters.
hexString :: ByteString -> HexString
-- | Converts a Binary to a HexString value
toHex :: Binary a => a -> HexString
-- | Converts a HexString to a Binary value
fromHex :: Binary a => HexString -> a
-- | Access to a Text representation of the HexString
asText :: HexString -> Text
instance Show HexString
instance Eq HexString
instance Ord HexString