ron-0.2: RON, RON-RDT, and RON-Schema

Safe HaskellNone
LanguageHaskell2010

RON.Text.Serialize

Description

RON-Text serialization

Synopsis

Documentation

serializeAtom :: Atom -> ByteStringL Source #

Serialize a context-free atom

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

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

serializeRawOp :: RawOp -> ByteStringL Source #

Serialize a context-free raw op

serializeStateFrame :: StateFrame -> ByteStringL Source #

Serialize a state frame

serializeString :: Text -> ByteStringL Source #

Serialize a string atom

serializeUuid :: UUID -> ByteStringL Source #

Serialize UUID without context (used for test)

serializeWireFrame :: WireFrame -> ByteStringL Source #

Serialize a common frame

serializeWireFrames :: [WireFrame] -> ByteStringL Source #

Serialize a sequence of common frames