diff options
Diffstat (limited to 'src/ProtocolBuffers.Serialization/AbstractReader.cs')
-rw-r--r-- | src/ProtocolBuffers.Serialization/AbstractReader.cs | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/ProtocolBuffers.Serialization/AbstractReader.cs b/src/ProtocolBuffers.Serialization/AbstractReader.cs index 538af38f..f3e6fd6f 100644 --- a/src/ProtocolBuffers.Serialization/AbstractReader.cs +++ b/src/ProtocolBuffers.Serialization/AbstractReader.cs @@ -17,12 +17,6 @@ namespace Google.ProtocolBuffers.Serialization /// <summary> Constructs a new reader </summary>
protected AbstractReader() { MaxDepth = DefaultMaxDepth; }
- /// <summary> Constructs a new child reader </summary>
- protected AbstractReader(AbstractReader copyFrom)
- {
- _depth = copyFrom._depth + 1;
- MaxDepth = copyFrom.MaxDepth;
- }
/// <summary> Gets or sets the maximum recursion depth allowed </summary>
public int MaxDepth { get; set; }
@@ -116,12 +110,12 @@ namespace Google.ProtocolBuffers.Serialization /// <summary>
/// Reads the root-message preamble specific to this formatter
/// </summary>
- public abstract AbstractReader ReadStartMessage();
+ public abstract void ReadMessageStart();
/// <summary>
/// Reads the root-message close specific to this formatter
/// </summary>
- public abstract void ReadEndMessage();
+ public abstract void ReadMessageEnd();
/// <summary>
/// Merges the input stream into the provided IBuilderLite
|