diff options
Diffstat (limited to 'src/ProtocolBuffers/CodedOutputStream.cs')
-rw-r--r-- | src/ProtocolBuffers/CodedOutputStream.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ProtocolBuffers/CodedOutputStream.cs b/src/ProtocolBuffers/CodedOutputStream.cs index 59490df3..088db8ae 100644 --- a/src/ProtocolBuffers/CodedOutputStream.cs +++ b/src/ProtocolBuffers/CodedOutputStream.cs @@ -360,7 +360,7 @@ namespace Google.ProtocolBuffers {
WriteTag(fieldNumber, WireFormat.WireType.LengthDelimited);
WriteRawVarint32((uint) value.Length);
- value.WriteTo(this);
+ value.WriteRawBytesTo(this);
}
[CLSCompliant(false)]
@@ -637,7 +637,7 @@ namespace Google.ProtocolBuffers public void WriteBytesNoTag(ByteString value)
{
WriteRawVarint32((uint) value.Length);
- value.WriteTo(this);
+ value.WriteRawBytesTo(this);
}
[CLSCompliant(false)]
|