Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class BitRead a where Source #
Bit string reader that produces a value of a type
Instances
BitRead Word8 Source # | |
BitRead Word16 Source # | |
BitRead Word32 Source # | |
BitRead Word64 Source # | |
BitRead ByteString Source # | |
Defined in HaskellWorks.Data.Bits.BitRead | |
BitRead [Bool] Source # | |
BitRead [Word8] Source # | |
BitRead [Word16] Source # | |
BitRead [Word32] Source # | |
BitRead [Word64] Source # | |
BitRead (Vector Bit) Source # | |
BitRead (Vector Bit) Source # | |
BitRead (Vector Word8) Source # | |
BitRead (Vector Word16) Source # | |
BitRead (Vector Word32) Source # | |
BitRead (Vector Word64) Source # | |
BitRead (Vector Word8) Source # | |
BitRead (Vector Word16) Source # | |
BitRead (Vector Word32) Source # | |
BitRead (Vector Word64) Source # | |
BitRead a => BitRead (BitShown a) Source # | |
unsafeBitRead :: BitRead a => String -> a Source #
Read a bit string into a value.
This function is unsafe because it is a partial function that errors if the input string is an invaild bit string