hw-bits-0.0.0.6: Conduits for tokenizing streams.

Copyright2016 John Ky
LicenseMIT
Safe HaskellNone
LanguageHaskell2010

HaskellWorks.Data.Bits.ElemFixedBitSize

Description

Succinct operations.

Synopsis

Documentation

class ElemFixedBitSize v where Source

Class of values that have elements of a fixed bit size

>>> elemFixedBitSize (Vector Word8)
8

Associated Types

type Elem v Source

The element type of the elemnet

Methods

elemFixedBitSize :: v -> Count Source

Get the bit size of an element for a given composite bit-string type.

>>> elemFixedBitSize (Vector Word8)
8