44 Commits (8840b12da6a9b5697a0bf99ca8f295d4a56b2582)
 

Author SHA1 Message Date
Chris Dickinson 8840b12da6 3.0.0 11 years ago
Chris Dickinson f48d840c95 Merge pull request #10 from mafintosh/bytes
bytesRead, bytesWritten -> bytes
11 years ago
Mathias Buus 11bf118d96 fix docs 11 years ago
Chris Dickinson 8a1a81de3a 2.0.0 11 years ago
Chris Dickinson 770ae8d530 Merge pull request #9 from dominictarr/incomplete
on incomplete buffers, return undefined, and set decode.bytesRead = 0
11 years ago
Mathias Buus d2f7af4ff9 fixed tests 11 years ago
Mathias Buus 5759d8a705 bytesRead,bytesWritten -> bytes 11 years ago
Dominic Tarr 490e48499d do not read outside the bounds of the buffer 11 years ago
Dominic Tarr 76ce046de9 make a quick benchmark script 11 years ago
Dominic Tarr 9af95d37bc correct usage notes 11 years ago
Dominic Tarr 5a00978b1b instead of throwing, return undefined in invalid (too short) buffers 11 years ago
Dominic Tarr 6639d2d256 test invalid buffers, set bytesRead = 0, and return undefined 11 years ago
Chris Dickinson d1288330fc 1.2.0 11 years ago
Chris Dickinson c6a6a844c5 Merge pull request #7 from dominictarr/encoding-length
Encoding length
11 years ago
Chris Dickinson a9742853ae Merge pull request #6 from dominictarr/master
support for numbers up to 9 QUADRILLION!
11 years ago
Dominic Tarr d51a128ab2 remove console.log 11 years ago
Dominic Tarr 76bbd6ee4b document encodingLength 11 years ago
Dominic Tarr bb93a5a51b export encodingLength 11 years ago
Dominic Tarr 03189c9ca9 test for encoding length 11 years ago
Dominic Tarr 10da3a6d33 test the largest numbers 11 years ago
Dominic Tarr 51da5f39f6 use bitwise check instead of >= when number is small 11 years ago
Dominic Tarr 5855143da8 use divide when number is too large for bitwise operations 11 years ago
Dominic Tarr e55b25d840 add tests for large numbers - up to 2^51, max integer that a js number can represent 11 years ago
Dominic Tarr a8b188fbb2 update tape 11 years ago
Chris Dickinson 566d0f030f 1.1.0 11 years ago
Chris Dickinson f0e5547f69 Merge pull request #4 from mafintosh/patch-1
Add encode.bytesWritten
11 years ago
Mathias Buus f5fc9ab1d7 docs for bytesWritten 11 years ago
Mathias Buus 73450c2c6b tests for bytesWritten 11 years ago
Mathias Buus 430379c346 add encode.bytesWritten 11 years ago
Chris Dickinson 88398d6985 1.0.0 11 years ago
Chris Dickinson 369325f253 Merge pull request #2 from maxogden/buffer-read
switch out the accumulator reader for a faster buffer reader
11 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
Chris Dickinson f75a1659aa 0.0.3 12 years ago
Chris Dickinson bf42927908 Merge pull request #1 from creationix/master
Make encode and decode available outside the EE interface.
12 years ago
Tim Caswell 4284621de5 Change decode to use prototype instead of closure 12 years ago
Tim Caswell 20acc39be4 Make encode and decode accessable standalone 12 years ago
Chris Dickinson 93dc5abad0 0.0.2 12 years ago
Chris Dickinson 694921aae7 add README 12 years ago
Chris Dickinson 4aef3242dd add more tests 12 years ago
Chris Dickinson 1ca3972acf 0.0.1 12 years ago
Chris Dickinson 7cd6c24150 initial code commit 12 years ago
Chris Dickinson 01ae0560bc initial commit 12 years ago