Commit b4a24aa5 authored by Jan Tattermusch's avatar Jan Tattermusch

added comment for ByteString.CopyFrom

parent ab5fffcc
...@@ -134,6 +134,8 @@ namespace Google.Protobuf ...@@ -134,6 +134,8 @@ namespace Google.Protobuf
/// Constructs a ByteString from the given array. The contents /// Constructs a ByteString from the given array. The contents
/// are copied, so further modifications to the array will not /// are copied, so further modifications to the array will not
/// be reflected in the returned ByteString. /// 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> /// </summary>
public static ByteString CopyFrom(params byte[] bytes) public static ByteString CopyFrom(params byte[] bytes)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment