/**
         * @param i_src
         * isetファイルイメージを格納したbyte配列
         */
        public IsetFileDataParserV5Raw(byte[] i_src)
        {
            BinaryReader br = new jp.nyatla.nyartoolkit.cs.cs4.BinaryReader(i_src, jp.nyatla.nyartoolkit.cs.cs4.BinaryReader.ENDIAN_LITTLE);

            this.image_width  = br.getInt();
            this.image_height = br.getInt();
            this.image        = br.getByteArray(this.image_width * this.image_height);
            this.dpis         = new float[br.getInt()];
            for (int i = 0; i < this.dpis.Length; i++)
            {
                this.dpis[i] = br.getFloat();
            }
            return;
        }
        public static NyARNftDataSetFile loadFromNftFilePack(byte[] i_byte)
        {
            jp.nyatla.nyartoolkit.cs.cs4.BinaryReader br = new jp.nyatla.nyartoolkit.cs.cs4.BinaryReader(i_byte, jp.nyatla.nyartoolkit.cs.cs4.BinaryReader.ENDIAN_LITTLE);
            //タイプチェック
            String header = byteArray2NullTerminateStr(br.getByteArray(32));

            if (header.CompareTo(HS_NFTPACK_V1) != 0)
            {
                throw new NyARRuntimeException("Invalid header");
            }

            //Entryの取得
            int num_of_entry = br.getInt();

            if (num_of_entry != 3)
            {
                throw new NyARRuntimeException("Invalid entry size");
            }
            int[] entry_info = br.getIntArray(num_of_entry * 2);
            return(new NyARNftDataSetFile(
                       NyARNftIsetFile.loadFromIsetFile(br.getByteArray(entry_info[2 * 0 + 1]), NyARNftIsetFile.FILE_FORMAT_ARTK_V5RAW),
                       NyARNftFsetFile.loadFromFsetFile(br.getByteArray(entry_info[2 * 1 + 1])),
                       NyARNftFreakFsetFile.loadFromfset3File(br.getByteArray(entry_info[2 * 2 + 1]))));
        }
        public static NyARNftFreakFsetFile loadFromfset3File(byte[] i_source)
        {
            jp.nyatla.nyartoolkit.cs.cs4.BinaryReader br = new jp.nyatla.nyartoolkit.cs.cs4.BinaryReader(i_source, jp.nyatla.nyartoolkit.cs.cs4.BinaryReader.ENDIAN_LITTLE);
            int num = br.getInt();

            RefDataSet[] rds = new RefDataSet[num];

            for (int i = 0; i < num; i++)
            {
                RefDataSet rd = new RefDataSet();
                rd.coord2D.x = br.getFloat();
                rd.coord2D.y = br.getFloat();
                rd.coord3D.x = br.getFloat();
                rd.coord3D.y = br.getFloat();
                br.getByteArray(rd.featureVec.v);
                rd.featureVec.angle  = br.getFloat();
                rd.featureVec.scale  = br.getFloat();
                rd.featureVec.maxima = br.getInt();
                rd.pageNo            = br.getInt();
                rd.refImageNo        = br.getInt();
                rds[i] = rd;
            }

            int page_num = br.getInt();

            PageInfo[] kpi = new PageInfo[page_num];
            for (int i = 0; i < page_num; i++)
            {
                int         page_no = br.getInt();
                int         img_num = br.getInt();
                ImageInfo[] kii     = new ImageInfo[img_num];
                for (int i2 = 0; i2 < img_num; i2++)
                {
                    kii[i2] = new ImageInfo(br.getInt(), br.getInt(), br.getInt());
                }
                kpi[i] = new PageInfo(page_no, kii);
            }
            return(new NyARNftFreakFsetFile(rds, kpi));
        }