Encode a message to the wire format as a strict ByteString.
Moduleproto-lens-0.7.1.5Haskell2010
Data.ProtoLens.Encoding
- 6 values
- Packageproto-lens-0.7.1.5
- Exports8
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceEncoding.hs
Encode a message value.
See also the functions in Data.ProtoLens.Encoding.
Decode a message from its wire format. Returns Left if the decoding fails.
Decode a message value.
See also the functions in Data.ProtoLens.Encoding.
Decode a message from its wire format. Throws an error if the decoding fails.
Delimited messages
3 declarationsEncode a message to the wire format, prefixed by its size as a VarInt, as part of a Builder.
This can be used to build up streams of messages in the size-delimited format expected by some protocols.
Same as decodeMessage but for delimited messages read through a Handle