hw-bits-0.7.0.3: 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

Minimal complete definition

fixedBitSize

Methods

fixedBitSize :: a -> Count Source #

Get the bit size of a value of given type.

>>> fixedBitSize Word8
8