diff options
Diffstat (limited to 'src/ProtocolBuffers')
-rw-r--r-- | src/ProtocolBuffers/DynamicMessage.cs | 4 | ||||
-rw-r--r-- | src/ProtocolBuffers/IRpcDispatch.cs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ProtocolBuffers/DynamicMessage.cs b/src/ProtocolBuffers/DynamicMessage.cs index cd874a70..22bcdeb7 100644 --- a/src/ProtocolBuffers/DynamicMessage.cs +++ b/src/ProtocolBuffers/DynamicMessage.cs @@ -77,7 +77,7 @@ namespace Google.ProtocolBuffers /// <summary>
/// Parses a message of the given type from the given stream.
/// </summary>
- public static DynamicMessage ParseFrom(MessageDescriptor type, CodedInputStream input)
+ public static DynamicMessage ParseFrom(MessageDescriptor type, ICodedInputStream input)
{
Builder builder = CreateBuilder(type);
Builder dynamicBuilder = builder.MergeFrom(input);
@@ -91,7 +91,7 @@ namespace Google.ProtocolBuffers /// <param name="input"></param>
/// <param name="extensionRegistry"></param>
/// <returns></returns>
- public static DynamicMessage ParseFrom(MessageDescriptor type, CodedInputStream input,
+ public static DynamicMessage ParseFrom(MessageDescriptor type, ICodedInputStream input,
ExtensionRegistry extensionRegistry)
{
Builder builder = CreateBuilder(type);
diff --git a/src/ProtocolBuffers/IRpcDispatch.cs b/src/ProtocolBuffers/IRpcDispatch.cs index 5abe4f87..0583d472 100644 --- a/src/ProtocolBuffers/IRpcDispatch.cs +++ b/src/ProtocolBuffers/IRpcDispatch.cs @@ -43,7 +43,7 @@ namespace Google.ProtocolBuffers /// </summary>
public interface IRpcServerStub
{
- IMessageLite CallMethod(string methodName, CodedInputStream input, ExtensionRegistry registry);
+ IMessageLite CallMethod(string methodName, ICodedInputStream input, ExtensionRegistry registry);
}
public interface IRpcDispatch
|