private bool CheckHeader() { if (!CompoundDocument.ArrayEqual(this.Header.FileTypeIdentifier, CompoundFileHeader.FileTypeIdentifier)) { throw new Exception("File header not recognized."); } if (!CompoundDocument.ArrayEqual(this.Header.ByteOrderMark, ByteOrderMarks.LittleEndian)) { throw new Exception("Endian not implemented."); } return(true); }