ron-0.11: RON

Safe HaskellNone
LanguageHaskell2010

RON.Text

Description

RON-Text wire format

Synopsis

Documentation

parseObject :: UUID -> ByteStringL -> Either String (ObjectFrame a) Source #

Parse a state frame as an object

parseWireFrames :: ByteStringL -> Either String [WireFrame] Source #

Parse a sequence of common frames

serializeObject :: ObjectFrame a -> (UUID, ByteStringL) Source #

Serialize an object. Return object id that must be stored separately.

serializeStateFrame :: StateFrame -> ByteStringL Source #

Serialize a state frame

serializeWireFrame :: WireFrame -> ByteStringL Source #

Serialize a common frame

serializeWireFrames :: [WireFrame] -> ByteStringL Source #

Serialize a sequence of common frames