114 Commits (13ed817fec5792c7272d9a149ad45cfeddea5638)

Author SHA1 Message Date
isaacs 22c68fdc1d src: Replace macros with util functions 12 years ago
Ben Noordhuis 0330bdf519 lib: macro-ify type checks 12 years ago
Trevor Norris 8ce02cf0aa buffer: misc logic simplification 12 years ago
Trevor Norris d74932e518 buffer: revert length and parent check 12 years ago
Trevor Norris 35e0d60d0c buffer: slice on zero length buffer 12 years ago
Trevor Norris 4a34c69cbf buffer: return offset for end of last write 12 years ago
Trevor Norris d817843d2e smalloc: create separate module 12 years ago
Trevor Norris b8ce1da74d buffer: propagate originating parent 12 years ago
Ben Noordhuis cf6acf2a1a buffer: add comment explaining buffer alignment 12 years ago
Trevor Norris f489649159 buffer: deprecate legacy code 12 years ago
Trevor Norris fb40da822f buffer: expose class methods alloc and dispose 12 years ago
Trevor Norris 456942a920 buffer: reimplement Buffer pools 12 years ago
Trevor Norris 3a2f273bd7 buffer: use smalloc as backing data store 12 years ago
Brian White 6af8788f3e buffer: return `this` in fill() for chainability 12 years ago
Trevor Norris 2cad7a69ce buffer: throw when writing beyond buffer 12 years ago
Łukasz Walukiewicz 2e28832660 buffer: fix offset checks 12 years ago
David Braun 840a29fc0f buffer: change output of Buffer.prototype.toJSON() 12 years ago
Trevor Norris ccda6bb3ac buffer: remove _charsWritten 12 years ago
Trevor Norris d69a26b965 buffer: check logic simplification 12 years ago
Ben Noordhuis 3f7e88a852 buffer: accept negative indices in Buffer#slice() 12 years ago
Ben Noordhuis cd42f56178 buffer: optimize Buffer.prototype.write(s, 'hex') 12 years ago
Ben Noordhuis 3f65916fa9 buffer: optimize Buffer.prototype.toString('hex') 12 years ago
Trevor Norris 65249ccd9b buffer: slow buffer copy compatibility fix 12 years ago
Trevor Norris cbe3941db9 buffer: error and misc cleanup 12 years ago
Trevor Norris 49175e6ae2 buffer: clean up copy() asserts and tests 12 years ago
Trevor Norris 16bbeccd40 buffer: slow buffer copy compatibility fix 12 years ago
Ben Noordhuis 498200b87c buffer: reject negative SlowBuffer offsets 12 years ago
isaacs b9ffc537e6 lint: Prefer double-quotes over single 12 years ago
Trevor Norris 7393740c7b buffer: improve read/write speed with assert 12 years ago
Trevor Norris 22b84e6216 buffer: floating point read/write improvements 12 years ago
Bert Belder a6b8f63660 buffer: zero-length buffers shouldn't be slab-backed 12 years ago
Bert Belder e501ce4b21 buffer: zero-length buffers shouldn't be slab-backed 12 years ago
isaacs 6c5356bfe2 Revert "buffer: allocate memory with mmap()" 12 years ago
Ben Noordhuis 2433ec8276 buffer: allocate memory with mmap() 12 years ago
Trevor Norris 6772308883 buffer: Don't double-negate numeric buffer arg 12 years ago
Trevor Norris 13c5db9771 buffer: remove duplicate assertion tests 12 years ago
Ricky Ng-Adam 8bd4590a31 buffer: include encoding value in exception when invalid 12 years ago
Nathan Rajlich a4ef01df07 buffer: implement Buffer.prototype.toJSON() 12 years ago
koichik 7f404e3509 buffer: added support for writing NaN and Infinity 12 years ago
koichik 37f0eb8df3 Revert "buffer: added support for writing NaN and Infinity" 12 years ago
koichik 6b9425fe37 buffer: added support for writing NaN and Infinity 12 years ago
isaacs 05282588e0 Buffer.isEncoding(enc) 13 years ago
Karl Skomski 57d53a47e8 Use parent SlowBuffer, if any, when Buffer is sliced 13 years ago
isaacs d53cdc5378 Add Buffer.concat method 13 years ago
isaacs a3753b496e Revert "Fix #3242 Actually deprecate 'binary' buffer encoding" 13 years ago
isaacs 1665b4a2a3 lint 13 years ago
Nathan Rajlich 38542f76a9 buffer: make SlowBuffer inherit from Buffer 13 years ago
isaacs 5979f096d1 Fix #3242 Actually deprecate 'binary' buffer encoding 13 years ago
koichik ebbd4039bc buffer: add UTF-16LE encoding name. 13 years ago
Ben Noordhuis 285d8c6589 buffer: align fast buffers on 8 byte boundary 13 years ago