Skip to content

Commit

Permalink
Remove AttachBytse(byte[])
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesNK committed Nov 5, 2020
1 parent a0a52fc commit b29a88d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions csharp/src/Google.Protobuf/ByteString.cs
Expand Up @@ -57,14 +57,6 @@ public sealed class ByteString : IEnumerable<byte>, IEquatable<ByteString>

private readonly ReadOnlyMemory<byte> bytes;

/// <summary>
/// Internal use only. Ensure that the provided array is not mutated and belongs to this instance.
/// </summary>
internal static ByteString AttachBytes(byte[] bytes)
{
return new ByteString(bytes);
}

/// <summary>
/// Internal use only. Ensure that the provided array is not mutated and belongs to this instance.
/// </summary>
Expand Down

0 comments on commit b29a88d

Please sign in to comment.