Skip to content

Commit

Permalink
Merge branch 'Tevemadar:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Tevemadar authored Nov 29, 2024
2 parents 9e59228 + 461f657 commit bfc86f5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion derle.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ function derle(data, method) {
return d;
}
function readN() {
throw "Ehm, please implement readN";
let d = data[readpos++];
if (d > 127)
d = (d & 127) + (readN() << 7);
return d;
}
// function write(d) {
// if (writepos >= result.length)
Expand Down

0 comments on commit bfc86f5

Please sign in to comment.