haskus-binary-1.4: Haskus binary format manipulation
Haskus.Format.Binary.Bits.Helper
bitOffset :: Word -> Word Source #
Compute bit offset (equivalent to x mod 8 but faster)
mod
byteOffset :: Word -> Word Source #
Compute byte offset (equivalent to x div 8 but faster)
div