12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- #if !NO_RUNTIME
- using System;
- namespace ProtoBuf.Serializers
- {
- interface IProtoSerializer
- {
-
-
-
- Type ExpectedType { get; }
-
-
-
-
-
- void Write(object value, ProtoWriter dest);
-
-
-
-
-
-
- object Read(object value, ProtoReader source);
-
-
-
-
-
- bool RequiresOldValue { get; }
-
-
-
-
- bool ReturnsValue { get; }
- #if FEAT_COMPILER
-
-
-
-
-
-
-
-
-
- void EmitWrite(Compiler.CompilerContext ctx, Compiler.Local valueFrom);
-
-
-
-
-
-
-
- void EmitRead(Compiler.CompilerContext ctx, Compiler.Local entity);
- #endif
- }
- }
- #endif
|