mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-06-11 07:14:04 +09:00
tsvm mov encoder and decoder
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user