flat-0.6: Principled and efficient bit-oriented binary serialization.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Flat.Encoder.Size

Description

Primitives to calculate the maximum size in bits of the encoding of a value

Documentation

sIntegral :: (Bits t, Integral t) => t -> Int Source #

numBlks :: Integral t => t -> t -> t Source #