hw-bits-0.7.0.5: Bit manipulation

Safe HaskellNone
LanguageHaskell2010

HaskellWorks.Data.Bits.FixedBitSize

Synopsis

Documentation

class FixedBitSize a where Source #

Class of values that have a fix bit size

Methods

fixedBitSize :: a -> Count Source #

Get the bit size of a value of given type.

>>> fixedBitSize Word8
8