public void Dispose() { if (BytesOnStack != null) { _stackPool.ReturnBytesOnStack(BytesOnStack); } Memory?.Dispose(); }