124 Commits (005cc05a5671996c67021e569c0f86241831ebb1)

Author SHA1 Message Date
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
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. 13 years ago
Ryan Dahl 8527f00c3c Lazy load a few modules 13 years ago
koichik 50e147bd03 Add an optional length argument to Buffer.write() 13 years ago
Devon Govett 562b469b35 More accurite error messages when writing beyond the length of a Buffer. 13 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
Ryan Dahl 038306a6c3 Closes GH-843. Fix SlowBuffer.prototype.slice 14 years ago
Ryan Dahl 6111c17a0e correct hexSlice end 14 years ago
isaacs 3c9fb3ec1a Fix invalid end handling for SlowBuffer#hexSlice 14 years ago
Ryan Dahl ab190d38b7 Fix buffer.toString('hex') 14 years ago
Ryan Dahl 55048cdf79 Update copyright headers 14 years ago
isaacs 0aa1a8a005 Closes GH-695 Add 'hex' encoding to Buffer 14 years ago
isaacs 2e6a263e29 Closes GH-609 Support array-ish args to Buffer ctor 14 years ago
Konstantin Käfer 9e101f2b01 UCS-2 support 14 years ago
Ryan Dahl 97e13748fa Typos 14 years ago
Ryan Dahl db78043d52 lint 14 years ago
Ryan Dahl aed0ba3211 buffer.copy targetStart defaults to 0 14 years ago
Ryan Dahl 6d7242b485 Document defaults for buffer.copy() 14 years ago
Ryan Dahl 4f32a59307 Fix buffer.slice(0, 0) 14 years ago
Stéphan Kochen 57eb5cb9a0 Make SlowBuffer pass Buffer.isBuffer test. 14 years ago
Ryan Dahl 515f006b6e Add legacy methods to Buffer 14 years ago
Ryan Dahl cf1db4f304 base64 decode should handle whitespace 14 years ago
Ryan Dahl 77fc61d539 Default value for second arg of Buffer#slice 14 years ago
Ryan Dahl b8bfbdab48 Rename SlowBuffer in binding 14 years ago
Ryan Dahl 5bc4efe820 Remove blobs, simplify SlowBuffer 14 years ago
Ryan Dahl ba2e4a2306 Simplify fast buffer constructor 14 years ago
Ryan Dahl 3e9f636b64 Improve long buffer test 14 years ago
Ryan Dahl 17ba821e60 defineProperty is slow, don't use it for fastbuffer 14 years ago