tsvm mov encoder and decoder

This commit is contained in:
minjaesong
2022-04-12 16:44:14 +09:00
parent 41761289d3
commit 95bfaae1da
8 changed files with 219 additions and 37 deletions

View File

@@ -141,7 +141,7 @@ filesystem.write = (driveLetter, string) => {
filesystem._flush(port[0]); filesystem._close(port[0]);
};
filesystem.writeBytes = (driveLetter, bytes) => {
var string = String.fromCharCode(...bytes);
var string = String.fromCharCode.apply(null, bytes); // no spreading: has length limit
filesystem.write(driveLetter, string);
};
filesystem.isDirectory = (driveLetter) => {