diff options
author | Jon Skeet <skeet@pobox.com> | 2015-06-12 09:53:12 +0100 |
---|---|---|
committer | Jon Skeet <skeet@pobox.com> | 2015-06-12 09:53:12 +0100 |
commit | 96ddf01aed1a49d73a7fda50e28c431ffc977e5a (patch) | |
tree | 4f603245ff514486481f126ca8d81deeff572534 /csharp/src/ProtocolBuffers/IMessage.cs | |
parent | 39aaf21d5194fdc07c296847def8e7795279e041 (diff) | |
download | protobuf-96ddf01aed1a49d73a7fda50e28c431ffc977e5a.tar.gz protobuf-96ddf01aed1a49d73a7fda50e28c431ffc977e5a.tar.bz2 protobuf-96ddf01aed1a49d73a7fda50e28c431ffc977e5a.zip |
Coded*Stream streamlining.
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.
Diffstat (limited to 'csharp/src/ProtocolBuffers/IMessage.cs')
-rw-r--r-- | csharp/src/ProtocolBuffers/IMessage.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/csharp/src/ProtocolBuffers/IMessage.cs b/csharp/src/ProtocolBuffers/IMessage.cs index 4e06f6e8..55b6fc5d 100644 --- a/csharp/src/ProtocolBuffers/IMessage.cs +++ b/csharp/src/ProtocolBuffers/IMessage.cs @@ -51,8 +51,8 @@ namespace Google.Protobuf public interface IMessage
{
- void MergeFrom(ICodedInputStream input);
- void WriteTo(ICodedOutputStream output);
+ void MergeFrom(CodedInputStream input);
+ void WriteTo(CodedOutputStream output);
int CalculateSize();
}
|