Space Engineers
|
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... | |
Definition at line 11 of file IProtoSerializer.cs.
object ProtoBuf.Serializers.IProtoSerializer.Read | ( | object | value, |
ProtoReader | source | ||
) |
Perform the steps necessary to deserialize this data.
value | The current value, if appropriate. |
source | The reader providing the input data. |
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 | ||
) |
Perform the steps necessary to serialize this data.
value | The value to be serialized. |
dest | The writer entity that is accumulating the output data. |
Implemented in ProtoBuf.Serializers.ListDecorator, ProtoBuf.Serializers.NullDecorator, ProtoBuf.Serializers.TypeSerializer, ProtoBuf.Serializers.ArrayDecorator, ProtoBuf.Serializers.TupleSerializer, ProtoBuf.Serializers.EnumSerializer, ProtoBuf.Serializers.SurrogateSerializer, ProtoBuf.Serializers.ParseableSerializer, ProtoBuf.Serializers.TagDecorator, ProtoBuf.Serializers.PropertyDecorator, ProtoBuf.Serializers.NetObjectSerializer, ProtoBuf.Serializers.DecimalSerializer, ProtoBuf.Serializers.Int64Serializer, ProtoBuf.Serializers.SingleSerializer, ProtoBuf.Serializers.TimeSpanSerializer, ProtoBuf.Serializers.DateTimeSerializer, ProtoBuf.Serializers.DoubleSerializer, ProtoBuf.Serializers.SByteSerializer, ProtoBuf.Serializers.UInt16Serializer, ProtoBuf.Serializers.UInt32Serializer, ProtoBuf.Serializers.UInt64Serializer, ProtoBuf.Serializers.BlobSerializer, ProtoBuf.Serializers.DefaultValueDecorator, ProtoBuf.Serializers.Int16Serializer, ProtoBuf.Serializers.Int32Serializer, ProtoBuf.Serializers.BooleanSerializer, ProtoBuf.Serializers.FieldDecorator, ProtoBuf.Serializers.UriDecorator, ProtoBuf.Serializers.GuidSerializer, ProtoBuf.Serializers.MemberSpecifiedDecorator, ProtoBuf.Serializers.ByteSerializer, ProtoBuf.Serializers.CharSerializer, ProtoBuf.Serializers.StringSerializer, and ProtoBuf.Serializers.ProtoDecoratorBase.
|
get |
The type that this serializer is intended to work for.
Definition at line 16 of file IProtoSerializer.cs.
|
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.
|
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.