Chris Dickinson
|
f48d840c95
|
Merge pull request #10 from mafintosh/bytes
bytesRead, bytesWritten -> bytes
|
10 years ago |
Mathias Buus
|
5759d8a705
|
bytesRead,bytesWritten -> bytes
|
10 years ago |
Dominic Tarr
|
490e48499d
|
do not read outside the bounds of the buffer
|
10 years ago |
Dominic Tarr
|
5a00978b1b
|
instead of throwing, return undefined in invalid (too short) buffers
|
10 years ago |
Max Ogden
|
a058f9360f
|
add .bytesRead property to varint.decode
|
11 years ago |
Max Ogden
|
50ae23c9e9
|
also return length from decode
|
11 years ago |
Max Ogden
|
8c42c841d6
|
switch out the accumulator reader for a faster buffer reader
|
11 years ago |
Tim Caswell
|
4284621de5
|
Change decode to use prototype instead of closure
|
11 years ago |
Tim Caswell
|
20acc39be4
|
Make encode and decode accessable standalone
|
11 years ago |