aboutsummaryrefslogtreecommitdiffhomepage
path: root/csharp/src/ProtocolBuffers/CodedOutputStream.ComputeSize.cs
Commit message (Collapse)AuthorAge
* First pass at the big rename from ProtocolBuffers to Google.Protobuf.Gravatar Jon Skeet2015-07-17
| | | | We'll see what I've missed when CI fails...
* First pass at wrapper types.Gravatar Jon Skeet2015-07-16
| | | | | - We do still generate the message types, as otherwise reflection breaks, even though it doesn't actually use those types. - JSON handling hasn't been implemented yet
* Fix copyright lines for all C# code.Gravatar Jon Skeet2015-06-30
| | | | | | Everything should now be consistent - the only difference between files is the year (aside from generated files). Fixes issue #531.
* Tidying up and extra tests.Gravatar Jon Skeet2015-06-30
| | | | This is mostly just making things internal instead of public, removing and reordering a bunch of code in CodedInputStream/CodedOutputStream, and generally tidying up.
* Use our "local" copy of Encoding.UTF8 in CodedInputStream too.Gravatar Jon Skeet2015-06-17
|
* Use the fact that we know the tag size and bytes at codegen time to optimize.Gravatar Jon Skeet2015-06-17
|
* Simplify ComputeInt32Size to call ComputeInt32SizeNoTag.Gravatar Jon Skeet2015-06-12
|
* Coded*Stream streamlining.Gravatar Jon Skeet2015-06-12
| | | | Remove ICodedInputStream and ICodedOutputStream, and rewrite CodedInputStream and CodedOutputStream to be specific to the binary format. If we want to support text-based formats, that can be a whole different serialization mechanism.
* Reimplement enums as int values, and get rid of EnumHelper.Gravatar Jon Skeet2015-06-11
| | | | This makes repeated fields really awkward at the moment - but when we reimplement RepeatedField<T> to be backed by an array, we can cast the array directly...
* Improve string encoding times.Gravatar Jon Skeet2015-06-11
| | | | | Cache a reference to Encoding.UTF8 - the property access is (rather surprisingly) significant. Additionally, when we detect that the string is all ASCII (due to the computed length in bytes being the length in characters), we can perform the encoding very efficiently ourselves.
* First pass at the mutable API. Quite a bit more to do - in particular, it's ↵Gravatar Jon Skeet2015-06-09
| | | | pretty slow right now.
* Remove CLS compliance from runtime code.Gravatar Jon Skeet2015-04-29
| | | | We need to remove it from the generator too; I'll raise a github issue for that.
* Imported protobuf-csharp-port into csharp/ treeGravatar Jan Tattermusch2015-04-16