def decompileHeader(self, data, ttFont):
    (format, length, language) = struct.unpack('>HHH', data[:6])
    assert (len(data) == length), ('corrupt cmap table format %d (data length: %d, header length: %d)' % (format, len(data), length))
    self.format = int(format)
    self.length = int(length)
    self.language = int(language)
    self.data = data[6:]
    self.ttFont = ttFont
def decompileHeader(self, data, ttFont):
    (format, length, language) = struct.unpack('>HHH', data[:6])
    assert (len(data) == length), ('corrupt cmap table format %d (data length: %d, header length: %d)' % (format, len(data), length))
    self.format = int(format)
    self.length = int(length)
    self.language = int(language)
    self.data = data[6:]
    self.ttFont = ttFont