flat-0.4.4.0.0.0.0.2: Principled and efficient bit-oriented binary serialization.
Safe Haskell None
Language Haskell2010

Flat.Decoder.Run

Synopsis

Documentation

strictDecoder :: Get a -> ByteString -> Either DecodeException a Source #

Given a decoder and an input buffer returns either the decoded value or an error (if the input buffer is not fully consumed)