aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/Google.Protobuf/CodedInputStream.cs
Commit message (Collapse)AuthorAgeFilesLines
* Tidying up - fix a bunch of TODOs and remove outdated ones.Jon Skeet2015-08-081-12/+13
|
* Address review comments.Jon Skeet2015-08-081-2/+2
|
* Skip groups properly.Jon Skeet2015-08-061-13/+42
| | | | | | | | | | | Now the generated code doesn't need to check for end group tags, as it will skip whole groups at a time. Currently it will ignore extraneous end group tags, which may or may not be a good thing. Renamed ConsumeLastField to SkipLastField as it felt more natural. Removed WireFormat.IsEndGroupTag as it's no longer useful. This mostly fixes issue 688. (Generated code changes coming in next commit.)
* Change ReadTag and PeekTag to just use 0 as a return value for "end of ↵Jon Skeet2015-08-051-32/+24
| | | | | | | | stream", rather than using an awkward out parameter. This simplifies quite a lot of code. Generated code in next commit.
* Validate that after reading a message, we've consumed as many bytes as we ↵Jon Skeet2015-08-051-0/+29
| | | | | | expected to. We should now have no conformance failures.
* Consume unknown fields when parsing.Jon Skeet2015-08-051-0/+33
| | | | | This is expected to be the cause of the conformance test failures. Generated code in next commit.
* Document everything, and turn on errors if we fail to document anything in ↵Jon Skeet2015-08-041-1/+1
| | | | the future.
* Expose Coded*Stream constructors directly.Jon Skeet2015-08-031-28/+11
|
* First pass at the big rename from ProtocolBuffers to Google.Protobuf.Jon Skeet2015-07-171-0/+1144
We'll see what I've missed when CI fails...