def METHOD_NAME(self,data,outputFile):
    bytes_per_line=16
    print("static const unsigned char %s_data[] = " % self.bareName,file=outputFile)
    print("{",file=outputFile)
    lines = [data[x:x+bytes_per_line] for x in range(0,len(data),bytes_per_line)]
    linesAsString = ',\n  '.join([', '.join(['0x'+self.formatByte(byte) for byte in line]) for line in lines])
    print('  %s' % linesAsString,file=outputFile)
    print("};",file=outputFile)
    print("const int %s_len = %d;\n" % (self.bareName,len(data)),file=outputFile)