Beispiel #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));
Beispiel #2
0
 public static ReadOnlySequence <byte> Add(this ReadOnlySequence <byte> sequence, byte[] array)
 => sequence.Add(new ReadOnlyMemory <byte>(array));