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

Public Member Functions

 CharSerializer (ProtoBuf.Meta.TypeModel model)
 
override void Write (object value, ProtoWriter dest)
 Perform the steps necessary to serialize this data. More...
 
override object Read (object value, ProtoReader source)
 Perform the steps necessary to deserialize this data. More...
 
- Public Member Functions inherited from ProtoBuf.Serializers.UInt16Serializer
 UInt16Serializer (ProtoBuf.Meta.TypeModel model)
 

Properties

override Type ExpectedType [get]
 
- Properties inherited from ProtoBuf.Serializers.UInt16Serializer
virtual Type ExpectedType [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 15 of file CharSerializer.cs.

Constructor & Destructor Documentation

ProtoBuf.Serializers.CharSerializer.CharSerializer ( ProtoBuf.Meta.TypeModel  model)
inline

Definition at line 22 of file CharSerializer.cs.

Member Function Documentation

override object ProtoBuf.Serializers.CharSerializer.Read ( object  value,
ProtoReader  source 
)
inlinevirtual

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.

Reimplemented from ProtoBuf.Serializers.UInt16Serializer.

Definition at line 35 of file CharSerializer.cs.

override void ProtoBuf.Serializers.CharSerializer.Write ( object  value,
ProtoWriter  dest 
)
inlinevirtual

Perform the steps necessary to serialize this data.

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

Reimplemented from ProtoBuf.Serializers.UInt16Serializer.

Definition at line 31 of file CharSerializer.cs.

Property Documentation

override Type ProtoBuf.Serializers.CharSerializer.ExpectedType
get

Definition at line 28 of file CharSerializer.cs.


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