Space Engineers
Public Member Functions | Properties | List of all members
ProtoBuf.Serializers.NetObjectSerializer Class Reference
Inheritance diagram for ProtoBuf.Serializers.NetObjectSerializer:
ProtoBuf.Serializers.IProtoSerializer

Public Member Functions

 NetObjectSerializer (TypeModel model, Type type, int key, BclHelpers.NetObjectOptions options)
 
object Read (object value, ProtoReader source)
 Perform the steps necessary to deserialize this data. More...
 
void Write (object value, ProtoWriter dest)
 Perform the steps necessary to serialize this data. More...
 

Properties

Type ExpectedType [get]
 
bool ReturnsValue [get]
 
bool RequiresOldValue [get]
 
- Properties inherited from ProtoBuf.Serializers.IProtoSerializer
Type ExpectedType [get]
 The type that this serializer is intended to work for. More...
 
bool RequiresOldValue [get]
 Indicates whether a Read operation replaces the existing value, or extends the value. If false, the "value" parameter to Read is discarded, and should be passed in as null. More...
 
bool ReturnsValue [get]
 Now all Read operations return a value (although most do); if false no value should be expected. More...
 

Detailed Description

Definition at line 16 of file NetObjectSerializer.cs.

Constructor & Destructor Documentation

ProtoBuf.Serializers.NetObjectSerializer.NetObjectSerializer ( TypeModel  model,
Type  type,
int  key,
BclHelpers.NetObjectOptions  options 
)
inline

Definition at line 23 of file NetObjectSerializer.cs.

Member Function Documentation

object ProtoBuf.Serializers.NetObjectSerializer.Read ( object  value,
ProtoReader  source 
)
inline

Perform the steps necessary to deserialize this data.

Parameters
valueThe current value, if appropriate.
sourceThe reader providing the input data.
Returns
The updated / replacement value.

Implements ProtoBuf.Serializers.IProtoSerializer.

Definition at line 44 of file NetObjectSerializer.cs.

void ProtoBuf.Serializers.NetObjectSerializer.Write ( object  value,
ProtoWriter  dest 
)
inline

Perform the steps necessary to serialize this data.

Parameters
valueThe value to be serialized.
destThe writer entity that is accumulating the output data.

Implements ProtoBuf.Serializers.IProtoSerializer.

Definition at line 48 of file NetObjectSerializer.cs.

Property Documentation

Type ProtoBuf.Serializers.NetObjectSerializer.ExpectedType
get

Definition at line 32 of file NetObjectSerializer.cs.

bool ProtoBuf.Serializers.NetObjectSerializer.RequiresOldValue
get

Definition at line 40 of file NetObjectSerializer.cs.

bool ProtoBuf.Serializers.NetObjectSerializer.ReturnsValue
get

Definition at line 36 of file NetObjectSerializer.cs.


The documentation for this class was generated from the following file: