Exemplo n.º 1
0
 public static ReadOnlySequence <byte> Add(this ReadOnlySequence <byte> sequence, byte[] array, int start, int length)
 => sequence.Add(new ReadOnlyMemory <byte>(array, start, length));
Exemplo n.º 2
0
 public static ReadOnlySequence <byte> Add(this ReadOnlySequence <byte> sequence, byte[] array)
 => sequence.Add(new ReadOnlyMemory <byte>(array));