105 Commits (56869d9ae7dd08138cce8442d71f070b793e2d30)

Author SHA1 Message Date
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) 12 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
Phil Sung cf2513e1aa buffer: don't pollute global namespace in buffer.readInt* 13 years ago
Ben Noordhuis 59a9a9b5b0 buffer: add .read*() and .write*() methods to SlowBuffer prototype 13 years ago
Łukasz Walukiewicz 3b852d7fab buffer: fix minimum values for writeInt*() functions 13 years ago
Łukasz Walukiewicz 5d0b5a00aa buffer: fix minimum values for writeInt*() functions 13 years ago
Ben Noordhuis f6bce20e5e buffers: handle bad length argument in constructor 13 years ago
Ben Noordhuis d157131439 buffers: handle bad length argument in constructor 13 years ago
koichik 526c54c979 buffer: write() should always set _charsWritten. 13 years ago
Brian White b7c23ac3f5 Incorporate endianness into buffer.read* function names instead of passing in a boolean flag 13 years ago
Ryan Dahl 2689d262ec Make buffer.INSPECT_MAX_BYTES public for mscdex 13 years ago
Ryan Dahl 7332c4022f Truncate Buffer.inspect at 50 bytes 13 years ago