Flat.Encoder.Types
Description
Encoder Types
type Size a = a -> NumBits -> NumBits Source #
Calculate the size (in bits) of the encoding of a value
type NumBits = Int Source #
Number of bits
type Prim = S -> IO S Source #
A basic encoder
data S Source #
Strict encoder state
Constructors
Fields
Defined in Flat.Encoder.Types
Methods
showsPrec :: Int -> S -> ShowS Source #
show :: S -> String Source #
showList :: [ S ] -> ShowS Source #