bytestring-nums-0.3.1: Parse numeric literals from ByteStrings.

Data.ByteString.Nums.Careless.Hex

Synopsis

Documentation

hexalize :: Num n => n -> Word8 -> nSource

Folds a byte into a number if the byte is a hexadecimal digit; otherwise the byte is ignored.

lazy_hex :: Num n => ByteString -> nSource

Lazy fold with hexalize.

strict_hex :: Num n => ByteString -> nSource

Strict fold with hexalize.