bytestring-from-0.3: A type-class to convert values from ByteString.

Safe HaskellNone
LanguageHaskell2010

Data.ByteString.From.Hex

Synopsis

Documentation

newtype Hex a Source

Newtype wrapper to parse integral numbers in hexadecimal format, optionally with a 0x or 0X prefix.

Constructors

Hex 

Fields

fromHex :: a
 

Instances

Bounded a => Bounded (Hex a) 
Enum a => Enum (Hex a) 
Eq a => Eq (Hex a) 
Integral a => Integral (Hex a) 
Num a => Num (Hex a) 
Ord a => Ord (Hex a) 
Read a => Read (Hex a) 
Real a => Real (Hex a) 
Show a => Show (Hex a) 
PrintfArg a => PrintfArg (Hex a) 
Bits a => Bits (Hex a) 
(Integral a, Bits a) => FromByteString (Hex a)