95 Commits (3dbbfd78030d07acf9b5d0e9c61113ff315a783a)

Author SHA1 Message Date
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
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 14 years ago
Ryan Dahl 2689d262ec Make buffer.INSPECT_MAX_BYTES public for mscdex 14 years ago
Ryan Dahl 7332c4022f Truncate Buffer.inspect at 50 bytes 14 years ago
Robert Mustacchi 0df08c6a0c Endian argument should be a boolean. Signed integers shouldn't run through checks for unsigned integers. Clean up jslint. Provide unchecked uint entry points. 14 years ago
Ryan Dahl 8527f00c3c Lazy load a few modules 14 years ago
koichik 50e147bd03 Add an optional length argument to Buffer.write() 14 years ago
Devon Govett 562b469b35 More accurite error messages when writing beyond the length of a Buffer. 14 years ago
Brian White e505a1215c Add reading/writing of floats and doubles from/to buffers 14 years ago
Konstantin Käfer 5e1b7cadb4 Add Buffer::fill method to do memset 14 years ago
Robert Mustacchi 9812e31e8b Add reading/writing of C integers to buffers 14 years ago
koichik fcc04e67c8 Fix SlowBuffer.write() with 'ucs2' throws ReferenceError. 14 years ago