IProtonizable

Description

interface Tinman.Core.IO.Serialization.IProtonizable

Extended by

Protonizable abstract

Base interface for classes that can serialize their state to the Protocol Buffers wire format.

Public / Methods

Proto​Default


public method ProtoDefault → ()

returns → IProtonizable

this

Resets the object state to default values, as defined by the Protocol Buffers specification.

Proto​Deserialize


public method ProtoDeserialize → (2)

wire in : IProtonizer

[not-null]
The input stream.

limit in : int64

The read limit, see IProtonizer.ReadRecord.

Restores the object state from the given Protocol Buffers wire format stream.

IOException

If an I/O error has occurred.

Proto​Serialize


public method ProtoSerialize → (1)

wire in : IProtonizer

[not-null]
The output stream.

Serializes the object state to a Protocol Buffers wire format stream.

IOException

If an I/O error has occurred.