Example #1
0
void XTI::load(CFRecord& record)
{
	if (record.checkFitReadSafe(6) == false) //Version < 0x0600
		return;

	record >> iSupBook >> itabFirst >> itabLast;
}
Example #2
0
void XFExtNoFRT::load(CFRecord& record)
{
	if (record.isEOF()) return;

	record.skipNunBytes(6); // reserved
	unsigned short cexts;
	record >> cexts;
	
	for(unsigned short i = 0; i < cexts; ++i)
	{
		if (record.checkFitReadSafe(4) == false)
			break;
		ExtProp prop;
		record >> prop;
		rgExt.push_back(prop);
	}
}