aboutsummaryrefslogtreecommitdiff
path: root/src/ProtocolBuffers/CodedInputStream.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ProtocolBuffers/CodedInputStream.cs')
-rw-r--r--src/ProtocolBuffers/CodedInputStream.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ProtocolBuffers/CodedInputStream.cs b/src/ProtocolBuffers/CodedInputStream.cs
index e6110fde..9655f0d0 100644
--- a/src/ProtocolBuffers/CodedInputStream.cs
+++ b/src/ProtocolBuffers/CodedInputStream.cs
@@ -425,7 +425,7 @@ namespace Google.ProtocolBuffers
}
else
{
- // Slow path: Build a byte array first then copy it.
+ // Slow path: Build a byte array and attach it to a new ByteString.
value = ByteString.AttachBytes(ReadRawBytes(size));
return true;
}