public override void Write(byte[] buffer, int offset, int count)
 {
     _buffer.Write(new Span <byte>(buffer, offset, count));
     // No Flush or Commit since caller may want to turn stream writes into a readable buffer.
 }
Beispiel #2
0
 public void CopyTo(ref WritableBuffer buffer)
 {
     buffer.Write(Array, Offset, Length);
 }