private void EnsureIsWritable() { if (_isReadOnly) { throw new InvalidOperationException("MultiChunkBuffer is not writable."); } }