36 Commits (76ce046de9b6a9f3a5c0ed1662a978c2e4ff079a)
 

Author SHA1 Message Date
Dominic Tarr 76ce046de9 make a quick benchmark script 10 years ago
Dominic Tarr 9af95d37bc correct usage notes 10 years ago
Dominic Tarr 5a00978b1b instead of throwing, return undefined in invalid (too short) buffers 10 years ago
Dominic Tarr 6639d2d256 test invalid buffers, set bytesRead = 0, and return undefined 10 years ago
Chris Dickinson d1288330fc 1.2.0 10 years ago
Chris Dickinson c6a6a844c5 Merge pull request #7 from dominictarr/encoding-length
Encoding length
10 years ago
Chris Dickinson a9742853ae Merge pull request #6 from dominictarr/master
support for numbers up to 9 QUADRILLION!
10 years ago
Dominic Tarr d51a128ab2 remove console.log 10 years ago
Dominic Tarr 76bbd6ee4b document encodingLength 10 years ago
Dominic Tarr bb93a5a51b export encodingLength 10 years ago
Dominic Tarr 03189c9ca9 test for encoding length 10 years ago
Dominic Tarr 10da3a6d33 test the largest numbers 10 years ago
Dominic Tarr 51da5f39f6 use bitwise check instead of >= when number is small 10 years ago
Dominic Tarr 5855143da8 use divide when number is too large for bitwise operations 10 years ago
Dominic Tarr e55b25d840 add tests for large numbers - up to 2^51, max integer that a js number can represent 10 years ago
Dominic Tarr a8b188fbb2 update tape 10 years ago
Chris Dickinson 566d0f030f 1.1.0 10 years ago
Chris Dickinson f0e5547f69 Merge pull request #4 from mafintosh/patch-1
Add encode.bytesWritten
10 years ago
Mathias Buus f5fc9ab1d7 docs for bytesWritten 10 years ago
Mathias Buus 73450c2c6b tests for bytesWritten 10 years ago
Mathias Buus 430379c346 add encode.bytesWritten 10 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 11 years ago
Chris Dickinson bf42927908 Merge pull request #1 from creationix/master
Make encode and decode available outside the EE interface.
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
Chris Dickinson 93dc5abad0 0.0.2 11 years ago
Chris Dickinson 694921aae7 add README 11 years ago
Chris Dickinson 4aef3242dd add more tests 11 years ago
Chris Dickinson 1ca3972acf 0.0.1 11 years ago
Chris Dickinson 7cd6c24150 initial code commit 11 years ago
Chris Dickinson 01ae0560bc initial commit 11 years ago