Chris Dickinson
|
15598cb409
|
BREAKING: throw RangeError when decoding bad buf
|
2016-11-04 12:15:07 -07:00 |
|
Stefan Thomas
|
204feb930d
|
update tests and maintain old behavior for backwards compatibility
|
2016-02-15 16:24:21 -08:00 |
|
Chris Dickinson
|
f48d840c95
|
Merge pull request #10 from mafintosh/bytes
bytesRead, bytesWritten -> bytes
|
2014-06-21 12:20:13 -07:00 |
|
Mathias Buus
|
d2f7af4ff9
|
fixed tests
|
2014-05-29 23:18:02 +02:00 |
|
Dominic Tarr
|
6639d2d256
|
test invalid buffers, set bytesRead = 0, and return undefined
|
2014-05-26 18:11:20 +02:00 |
|
Chris Dickinson
|
c6a6a844c5
|
Merge pull request #7 from dominictarr/encoding-length
Encoding length
|
2014-05-09 15:57:30 -07:00 |
|
Dominic Tarr
|
d51a128ab2
|
remove console.log
|
2014-05-09 10:34:43 +02:00 |
|
Dominic Tarr
|
03189c9ca9
|
test for encoding length
|
2014-05-09 00:35:28 +02:00 |
|
Dominic Tarr
|
10da3a6d33
|
test the largest numbers
|
2014-05-08 23:58:25 +02:00 |
|
Dominic Tarr
|
e55b25d840
|
add tests for large numbers - up to 2^51, max integer that a js number can represent
|
2014-05-08 23:46:11 +02:00 |
|
Mathias Buus
|
73450c2c6b
|
tests for bytesWritten
|
2014-05-03 10:34:24 +02:00 |
|
Max Ogden
|
a058f9360f
|
add .bytesRead property to varint.decode
|
2013-10-10 13:36:02 -07:00 |
|
Max Ogden
|
50ae23c9e9
|
also return length from decode
|
2013-10-10 08:46:46 -07:00 |
|
Max Ogden
|
8c42c841d6
|
switch out the accumulator reader for a faster buffer reader
|
2013-10-09 23:11:37 -07:00 |
|
Chris Dickinson
|
4aef3242dd
|
add more tests
|
2013-02-13 18:48:54 -08:00 |
|
Chris Dickinson
|
7cd6c24150
|
initial code commit
|
2013-02-13 17:08:15 -08:00 |
|