diff options
author | Jon Skeet <skeet@pobox.com> | 2015-07-16 08:08:45 +0100 |
---|---|---|
committer | Jon Skeet <skeet@pobox.com> | 2015-07-16 08:08:45 +0100 |
commit | 3bf74a91bb936c71bfbe61db5c87d10eaac1bc41 (patch) | |
tree | cf97562995f88262f5de8b894b7362b14d12edb8 /csharp/src/ProtocolBuffers/ByteString.cs | |
parent | 19cf9d1e0044e18067ac4f444e3d91a5d939e84e (diff) | |
parent | b4a24aa5faa5e4229fe71108301a8d49434ddffd (diff) | |
download | protobuf-3bf74a91bb936c71bfbe61db5c87d10eaac1bc41.tar.gz protobuf-3bf74a91bb936c71bfbe61db5c87d10eaac1bc41.tar.bz2 protobuf-3bf74a91bb936c71bfbe61db5c87d10eaac1bc41.zip |
Merge pull request #605 from jtattermusch/csharp_cleanup
Assorted nits from C# code.
Diffstat (limited to 'csharp/src/ProtocolBuffers/ByteString.cs')
-rw-r--r-- | csharp/src/ProtocolBuffers/ByteString.cs | 2 |
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)
{
|