/// <summary>
/// Occurs when committing the following data to the disk.
/// This will copy any pending data to the disk in a manner that
/// will protect against corruption.
/// </summary>
/// <param name="header"></param>
public void CommitChanges(FileHeaderBlock header)
{
if (m_disposed)
{
throw new ObjectDisposedException(GetType().FullName);
}
if (m_isReadOnly)
{
throw new ReadOnlyException();
}
m_stream.CommitChanges(header);
}