public override void Write(byte[] buffer, int offset, int count) { ThrowIfDisposed(); ThrowIfCantWrite(); _baseStream.Write(buffer, offset, count); }