106 Commits (3158ffb6ef153c0e76f4a6b5b98e91a8315c197c)

Author SHA1 Message Date
Trevor Norris 35e0d60d0c buffer: slice on zero length buffer 11 years ago
Trevor Norris 4a34c69cbf buffer: return offset for end of last write 11 years ago
Trevor Norris d817843d2e smalloc: create separate module 11 years ago
Trevor Norris b8ce1da74d buffer: propagate originating parent 11 years ago
Trevor Norris 4b40358841 buffer: implement new fill behavior 12 years ago
Trevor Norris fb40da822f buffer: expose class methods alloc and dispose 12 years ago
Trevor Norris 3a2f273bd7 buffer: use smalloc as backing data store 12 years ago
Timothy J Fontaine 007e63bb13 buffer: special case empty string writes 12 years ago
Trevor Norris 2cad7a69ce buffer: throw when writing beyond buffer 12 years ago
Trevor Norris d5d5170c35 string_bytes: strip padding from base64 strings 12 years ago
Ben Noordhuis f59ab10a64 buffer, crypto: fix default encoding regression 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
Ben Noordhuis 3f7e88a852 buffer: accept negative indices in Buffer#slice() 12 years ago
Trevor Norris 65249ccd9b buffer: slow buffer copy compatibility fix 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
Trevor Norris 22b84e6216 buffer: floating point read/write improvements 12 years ago
Ben Noordhuis 9668df8b39 v8: work around String::WriteAscii segfault 12 years ago
Trevor Norris 6772308883 buffer: Don't double-negate numeric buffer arg 12 years ago
Ricky Ng-Adam 8bd4590a31 buffer: include encoding value in exception when invalid 12 years ago
koichik fbb0ee6f24 buffer: fix byteLength with UTF-16LE 12 years ago
Nathan Rajlich a4ef01df07 buffer: implement Buffer.prototype.toJSON() 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
koichik ebbd4039bc buffer: add UTF-16LE encoding name. 13 years ago
Ben Noordhuis b9127eb0a5 buffer: support decoding of URL-safe base64 13 years ago
Ben Noordhuis f101f7c9ba buffers: honor length argument in base64 decoder 13 years ago
Ryan Dahl d77ce4b998 Fixes #1860. Remove process.writeError 13 years ago
Colton Baker 87286cc737 Fixed a lot of jslint errors. 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 3e853e627e buffer: write() should always set _charsWritten. 13 years ago
koichik 96ede8cc9b buffer: Avoid overrun with 'binary' encoding. 13 years ago
koichik 526c54c979 buffer: write() should always set _charsWritten. 13 years ago
koichik 50e147bd03 Add an optional length argument to Buffer.write() 13 years ago
koichik 5208abe723 Fix Buffer drops last null character in UTF-8 14 years ago
Ben Noordhuis 8e0d788842 Test for #402: writing base64 at position > 0 should not mangle the result. 14 years ago
Ryan Dahl 6461af1baa Fix buffer test 14 years ago
Ryan Dahl 5e409c2f1a makeFastBuffer should not segfault but rather throw on non-buffer 14 years ago
Ryan Dahl 103a450d3a Remove 'binary' encoding assert - add tests 14 years ago
Konstantin Käfer 5e1b7cadb4 Add Buffer::fill method to do memset 14 years ago
koichik fcc04e67c8 Fix SlowBuffer.write() with 'ucs2' throws ReferenceError. 14 years ago
koichik 9533e879f0 Fix Buffer.write() with UCS-2 should not be write partial char 14 years ago
Ryan Dahl 038306a6c3 Closes GH-843. Fix SlowBuffer.prototype.slice 14 years ago
isaacs 3c9fb3ec1a Fix invalid end handling for SlowBuffer#hexSlice 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