bytesRead,bytesWritten -> bytes

master
Mathias Buus 10 years ago
parent d1288330fc
commit 5759d8a705

@ -18,7 +18,7 @@ function read(buf, offset) {
shift += 7
} while (b >= MSB)
read.bytesRead = counter - offset
read.bytes = counter - offset
return res
}

@ -20,7 +20,7 @@ function encode(num, out, offset) {
}
out[offset] = num | 0
encode.bytesWritten = offset - oldOffset + 1
encode.bytes = offset - oldOffset + 1
return out
}

Loading…
Cancel
Save