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. }
public void CopyTo(ref WritableBuffer buffer) { buffer.Write(Array, Offset, Length); }