aboutsummaryrefslogtreecommitdiff
path: root/src/ProtocolBuffers/CodedOutputStream.cs
diff options
context:
space:
mode:
authorcsharptest <roger@csharptest.net>2011-07-14 13:20:11 -0500
committerrogerk <devnull@localhost>2011-07-14 13:20:11 -0500
commited701ad2a5c8d3fabfaaacba58f2dfa7d78e6c2c (patch)
tree3b9434bd89b0f843490d559ce5b652efac1fa003 /src/ProtocolBuffers/CodedOutputStream.cs
parent398a7f526c9b1e69531ab1169d0e62fa4c2eadf0 (diff)
downloadprotobuf-ed701ad2a5c8d3fabfaaacba58f2dfa7d78e6c2c.tar.gz
protobuf-ed701ad2a5c8d3fabfaaacba58f2dfa7d78e6c2c.tar.bz2
protobuf-ed701ad2a5c8d3fabfaaacba58f2dfa7d78e6c2c.zip
renamed ByteString.WriteTo(CodedOutputStream) to WriteRawBytesTo
Diffstat (limited to 'src/ProtocolBuffers/CodedOutputStream.cs')
-rw-r--r--src/ProtocolBuffers/CodedOutputStream.cs4
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)]