def METHOD_NAME(self, writer, ttFont):
    formatstring, names, fixes = sstruct.getformat(vheaFormat)
    for name in names:
        value = getattr(self, name)
        if name == "tableVersion":
            value = fi2ve(value)
            value = "0x%08x" % value
        writer.simpletag(name, value=value)
        writer.newline()