Safe Haskell | None |
---|---|
Language | Haskell98 |
Data.ByteString.Nums.Careless.Hex
- class Num n => Hexable b n where
- hexalize :: Num n => n -> Word8 -> n
- strict_hex :: Num n => ByteString -> n
- lazy_hex :: Num n => ByteString -> n
Documentation
class Num n => Hexable b n where #
Types that can be read from hexadecimal strings. Characters that are not
hexadecimal digits are skipped over. One pleasant consequence of this is
that a leading 0x
is simply ignored.
Minimal complete definition
Instances
strict_hex :: Num n => ByteString -> n #
lazy_hex :: Num n => ByteString -> n #