public ReadOnlySpan <byte> GetBufferData(BufferHandle buffer, int offset, int size) { return(Buffer.GetData(this, buffer, offset, size)); }
public byte[] GetBufferData(BufferHandle buffer, int offset, int size) { return(Buffer.GetData(buffer, offset, size)); }
public byte[] GetData() { return(_buffer?.GetData(_bufferOffset, _bufferSize)); }