flat-0.3.2: Principled and efficient bit-oriented binary serialization.

Safe HaskellNone
LanguageHaskell2010

Data.Flat.Encoder.Prim

Description

Encoding Primitives

Synopsis

Documentation

eBitsF :: NumBits -> Word8 -> Prim Source #

Encode up to 8 bits.

varWordF :: (Bits t, Integral t) => t -> Prim Source #

w7l :: (Bits t, Integral t) => t -> [Word8] Source #