public void CommitChanges(FileHeaderBlock headerBlock) { if (IsDisposed) throw new ObjectDisposedException("MemoryStream"); }