aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/ProtocolBuffers/ByteString.cs
diff options
context:
space:
mode:
authorJan Tattermusch <jtattermusch@google.com>2015-07-15 19:44:22 -0700
committerJan Tattermusch <jtattermusch@google.com>2015-07-15 23:29:45 -0700
commitb4a24aa5faa5e4229fe71108301a8d49434ddffd (patch)
treecf97562995f88262f5de8b894b7362b14d12edb8 /csharp/src/ProtocolBuffers/ByteString.cs
parentab5fffcc9e3b8716bfe552fa841a818ca9ab6bbb (diff)
downloadprotobuf-b4a24aa5faa5e4229fe71108301a8d49434ddffd.tar.gz
protobuf-b4a24aa5faa5e4229fe71108301a8d49434ddffd.tar.bz2
protobuf-b4a24aa5faa5e4229fe71108301a8d49434ddffd.zip
added comment for ByteString.CopyFrom
Diffstat (limited to 'csharp/src/ProtocolBuffers/ByteString.cs')
-rw-r--r--csharp/src/ProtocolBuffers/ByteString.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/csharp/src/ProtocolBuffers/ByteString.cs b/csharp/src/ProtocolBuffers/ByteString.cs
index d5b7aee9..738f020e 100644
--- a/csharp/src/ProtocolBuffers/ByteString.cs
+++ b/csharp/src/ProtocolBuffers/ByteString.cs
@@ -134,6 +134,8 @@ namespace Google.Protobuf
/// Constructs a ByteString from the given array. The contents
/// are copied, so further modifications to the array will not
/// be reflected in the returned ByteString.
+ /// This method can also be invoked in <c>ByteString.CopyFrom(0xaa, 0xbb, ...)</c> form
+ /// which is primarily useful for testing.
/// </summary>
public static ByteString CopyFrom(params byte[] bytes)
{