UNPKG

vox-saver

Version:

Takes a JavaScript Object of .vox file data and returns a Byte Array with all the containing informations

4 lines 132 B
const writeChars = (chars: string): number[] => { return chars.split("").map(char => char.charCodeAt(0)); } export = writeChars;