Copyright | (c) Taru Karttunen 2009 |
---|---|
License | BSD-style |
Maintainer | taruti@taruti.net |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell98 |
Data.Hex
Description
Convert strings into hexadecimal and back.
Synopsis
- class Hex t where
Documentation
Convert strings into hexadecimal and back.
Methods
Convert string into hexadecimal.
unhex :: Monad m => t -> m t Source #
Convert from hexadecimal and fail on invalid input.
Instances
Hex String Source # | |
Hex ByteString Source # | |
Defined in Data.Hex Methods hex :: ByteString -> ByteString Source # unhex :: Monad m => ByteString -> m ByteString Source # | |
Hex ByteString Source # | |
Defined in Data.Hex Methods hex :: ByteString -> ByteString Source # unhex :: Monad m => ByteString -> m ByteString Source # |