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