diff options
author | csharptest <roger@csharptest.net> | 2011-06-03 21:57:15 -0500 |
---|---|---|
committer | rogerk <devnull@localhost> | 2011-06-03 21:57:15 -0500 |
commit | 17699c21f98bda5ca039be3f5d43c9b0aa462aea (patch) | |
tree | a918f950dbffbc6ef719a58dc71fb10e0db50f6f /src/ProtocolBuffers.Test/TestProtos/UnitTestEmbedOptimizeForProtoFile.cs | |
parent | d2af9e923f4f2d7f7c56a2e74d5a26536aae0369 (diff) | |
download | protobuf-17699c21f98bda5ca039be3f5d43c9b0aa462aea.tar.gz protobuf-17699c21f98bda5ca039be3f5d43c9b0aa462aea.tar.bz2 protobuf-17699c21f98bda5ca039be3f5d43c9b0aa462aea.zip |
Extracted ICodedInputStream interface
Diffstat (limited to 'src/ProtocolBuffers.Test/TestProtos/UnitTestEmbedOptimizeForProtoFile.cs')
-rw-r--r-- | src/ProtocolBuffers.Test/TestProtos/UnitTestEmbedOptimizeForProtoFile.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ProtocolBuffers.Test/TestProtos/UnitTestEmbedOptimizeForProtoFile.cs b/src/ProtocolBuffers.Test/TestProtos/UnitTestEmbedOptimizeForProtoFile.cs index 9993960d..60a8b8de 100644 --- a/src/ProtocolBuffers.Test/TestProtos/UnitTestEmbedOptimizeForProtoFile.cs +++ b/src/ProtocolBuffers.Test/TestProtos/UnitTestEmbedOptimizeForProtoFile.cs @@ -171,10 +171,10 @@ namespace Google.ProtocolBuffers.TestProtos { public static TestEmbedOptimizedForSize ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
}
- public static TestEmbedOptimizedForSize ParseFrom(pb::CodedInputStream input) {
+ public static TestEmbedOptimizedForSize ParseFrom(pb::ICodedInputStream input) {
return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
}
- public static TestEmbedOptimizedForSize ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
+ public static TestEmbedOptimizedForSize ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
}
public static Builder CreateBuilder() { return new Builder(); }
@@ -247,11 +247,11 @@ namespace Google.ProtocolBuffers.TestProtos { return this;
}
- public override Builder MergeFrom(pb::CodedInputStream input) {
+ public override Builder MergeFrom(pb::ICodedInputStream input) {
return MergeFrom(input, pb::ExtensionRegistry.Empty);
}
- public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
+ public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
pb::UnknownFieldSet.Builder unknownFields = null;
uint tag;
string field_name;
|