|
Data.Binary.Strict.BitUtil |
|
|
|
Synopsis |
|
|
|
Documentation |
|
|
This is used for masking the last byte of a ByteString so that extra
bits don't leak in
|
|
|
Return a Word8 with the bottom n bits set
|
|
|
Shift the whole ByteString some number of bits left where 0 <= n < 8
|
|
|
Shift the whole ByteString some number of bits right where 0 <= n < 8
|
|
|
Truncate a ByteString to a given number of bits (counting from the left)
by masking out extra bits in the last byte
|
|
|
Truncate a ByteString to a given number of bits (counting from the right)
by masking out extra bits in the first byte
|
|
Produced by Haddock version 2.4.2 |