Squash commits for public release
This commit is contained in:
8
utils/compilers/DevTreeCompiler/Generator/BinWriter.py
Normal file
8
utils/compilers/DevTreeCompiler/Generator/BinWriter.py
Normal file
@@ -0,0 +1,8 @@
|
||||
class BinWriter():
|
||||
def __init__(self, output_file):
|
||||
self.output_file = output_file
|
||||
|
||||
def write(self, data):
|
||||
binfile = open(self.output_file, "wb")
|
||||
binfile.write(bytes(data))
|
||||
binfile.close()
|
||||
Reference in New Issue
Block a user