public virtual bool readJP2HeaderBox(long pos, int length, long longLength) { if (length == 0) { // This can not be last box throw new System.InvalidOperationException("Zero-length of JP2Header Box"); } // Here the JP2Header data (DBox) would be read if we were to use it return true; }