parseCFFHeader function

Map<String, dynamic> parseCFFHeader(
  1. dynamic data,
  2. dynamic start
)

Implementation

Map<String, dynamic> parseCFFHeader(data, start) {
  Map<String, dynamic> header = {};
  header["formatMajor"] = getCard8(data, start);
  header["formatMinor"] = getCard8(data, start + 1);
  header["size"] = getCard8(data, start + 2);
  header["offsetSize"] = getCard8(data, start + 3);
  header["startOffset"] = start;
  header["endOffset"] = start + 4;
  return header;
}