Converting to buffer array the list of elements
This commit is contained in:
parent
6614a068d4
commit
1a588936c2
|
@ -504,3 +504,4 @@ module.exports = {
|
|||
]
|
||||
};
|
||||
|
||||
module.exports.elements = module.exports.elements.map(x => new Buffer(x.substring(2), 'hex'));
|
||||
|
|
|
@ -35,6 +35,7 @@ stream2.once('open', function(fd) {
|
|||
.map(el => "\t\t'0x" + el.toString('hex') + "'")
|
||||
.join(",\n"))
|
||||
stream2.write("\n\t]\n};\n\n");
|
||||
stream2.write("module.exports.elements = module.exports.elements.map(x => new Buffer(x.substring(2), 'hex'));\n\n");
|
||||
stream2.end();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue