bert-1.1.2: BERT implementation

PortabilityGHC
Stabilityexperimental
Maintainermarius@monkey.org

Data.BERT.Packet

Description

BERP (BERT packets) support.

Synopsis

Documentation

data Packet Source

A single BERP. Little more than a wrapper for a term.

Constructors

Packet Term 

packets :: ByteString -> [Packet]Source

From a lazy bytestring, return a (lazy) list of packets. This is convenient for parsing a stream of adjacent packets. (Eg. by using some form of getContents to get a ByteString out of a data source).