From b4a24aa5faa5e4229fe71108301a8d49434ddffd Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Wed, 15 Jul 2015 19:44:22 -0700 Subject: added comment for ByteString.CopyFrom --- csharp/src/ProtocolBuffers/ByteString.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'csharp') 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 ByteString.CopyFrom(0xaa, 0xbb, ...) form + /// which is primarily useful for testing. /// public static ByteString CopyFrom(params byte[] bytes) { -- cgit v1.2.3