Space Engineers
Public Member Functions | Properties | List of all members
ProtoBuf.Serializers.IProtoSerializer Interface Reference
Inheritance diagram for ProtoBuf.Serializers.IProtoSerializer:
ProtoBuf.Serializers.BlobSerializer ProtoBuf.Serializers.BooleanSerializer ProtoBuf.Serializers.ByteSerializer ProtoBuf.Serializers.DateTimeSerializer ProtoBuf.Serializers.DecimalSerializer ProtoBuf.Serializers.DoubleSerializer ProtoBuf.Serializers.EnumSerializer ProtoBuf.Serializers.GuidSerializer ProtoBuf.Serializers.Int16Serializer ProtoBuf.Serializers.Int32Serializer ProtoBuf.Serializers.Int64Serializer ProtoBuf.Serializers.IProtoTypeSerializer ProtoBuf.Serializers.NetObjectSerializer ProtoBuf.Serializers.ParseableSerializer ProtoBuf.Serializers.ProtoDecoratorBase ProtoBuf.Serializers.SByteSerializer ProtoBuf.Serializers.SingleSerializer ProtoBuf.Serializers.StringSerializer ProtoBuf.Serializers.SystemTypeSerializer ProtoBuf.Serializers.TimeSpanSerializer ProtoBuf.Serializers.UInt16Serializer ProtoBuf.Serializers.UInt32Serializer ProtoBuf.Serializers.UInt64Serializer

Public Member Functions

void Write (object value, ProtoWriter dest)
 Perform the steps necessary to serialize this data. More...
 
object Read (object value, ProtoReader source)
 Perform the steps necessary to deserialize this data. More...
 

Properties

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 11 of file IProtoSerializer.cs.

Member Function Documentation

object ProtoBuf.Serializers.IProtoSerializer.Read ( object  value,
ProtoReader  source 
)

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.

Implemented in ProtoBuf.Serializers.ListDecorator, ProtoBuf.Serializers.TypeSerializer, ProtoBuf.Serializers.ArrayDecorator, ProtoBuf.Serializers.NullDecorator, ProtoBuf.Serializers.EnumSerializer, ProtoBuf.Serializers.TupleSerializer, ProtoBuf.Serializers.SurrogateSerializer, ProtoBuf.Serializers.ParseableSerializer, ProtoBuf.Serializers.TagDecorator, ProtoBuf.Serializers.PropertyDecorator, ProtoBuf.Serializers.DefaultValueDecorator, ProtoBuf.Serializers.NetObjectSerializer, ProtoBuf.Serializers.FieldDecorator, ProtoBuf.Serializers.MemberSpecifiedDecorator, ProtoBuf.Serializers.BooleanSerializer, ProtoBuf.Serializers.StringSerializer, ProtoBuf.Serializers.UriDecorator, ProtoBuf.Serializers.GuidSerializer, ProtoBuf.Serializers.ByteSerializer, ProtoBuf.Serializers.CharSerializer, ProtoBuf.Serializers.DecimalSerializer, ProtoBuf.Serializers.Int64Serializer, ProtoBuf.Serializers.SingleSerializer, ProtoBuf.Serializers.TimeSpanSerializer, ProtoBuf.Serializers.BlobSerializer, ProtoBuf.Serializers.DateTimeSerializer, ProtoBuf.Serializers.DoubleSerializer, ProtoBuf.Serializers.SByteSerializer, ProtoBuf.Serializers.UInt16Serializer, ProtoBuf.Serializers.UInt32Serializer, ProtoBuf.Serializers.UInt64Serializer, ProtoBuf.Serializers.Int16Serializer, ProtoBuf.Serializers.Int32Serializer, and ProtoBuf.Serializers.ProtoDecoratorBase.

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

Property Documentation

Type ProtoBuf.Serializers.IProtoSerializer.ExpectedType
get

The type that this serializer is intended to work for.

Definition at line 16 of file IProtoSerializer.cs.

bool ProtoBuf.Serializers.IProtoSerializer.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.

Definition at line 39 of file IProtoSerializer.cs.

bool ProtoBuf.Serializers.IProtoSerializer.ReturnsValue
get

Now all Read operations return a value (although most do); if false no value should be expected.

Definition at line 44 of file IProtoSerializer.cs.


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