ron-0.7: RON

Safe HaskellNone
LanguageHaskell2010

RON.Text.Serialize

Description

RON-Text serialization

Synopsis

Documentation

serializeAtom :: Atom -> ByteStringL Source #

Serialize a context-free atom

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

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

serializeRawOp :: ClosedOp -> 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