#include "header.h" void CmapHeader::read(reader* rd){ _version = rd->readUint16(); _numTables = rd->readUint16(); for(auto i = 0; i<_numTables; i++){ CmapEncodingRecord cer(rd); _recordTables.push_back(cer); } } CmapHeader::CmapHeader(reader* rd){ read(rd); }