aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/ProtocolBuffers/CodedOutputStream.ComputeSize.cs
Commit message (Collapse)AuthorAgeFilesLines
* Reimplement enums as int values, and get rid of EnumHelper.Jon Skeet2015-06-111-6/+6
| | | | 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.Jon Skeet2015-06-111-2/+2
| | | | | 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 ↵Jon Skeet2015-06-091-46/+25
| | | | pretty slow right now.
* Remove CLS compliance from runtime code.Jon Skeet2015-04-291-10/+0
| | | | We need to remove it from the generator too; I'll raise a github issue for that.
* Imported protobuf-csharp-port into csharp/ treeJan Tattermusch2015-04-161-0/+653