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

Safe HaskellNone
LanguageHaskell2010

Data.Flat.Encoder.Strict

Description

Strict encoder

Synopsis

Documentation

encodeListWith :: (t -> Encoding) -> [t] -> Encoding Source #

Encode as a List

encodeArrayWith :: (t -> Encoding) -> [t] -> Encoding Source #

Encode as Array

vsize :: (t -> NumBits) -> t -> NumBits -> NumBits Source #