136 Commits (7fa4a9697d82fe811b73aea92492b66798420609)

Author SHA1 Message Date
cjihrig 2cae44f169 buffer: construct new buffer from buffer toJSON() output 11 years ago
Feross Aboukhadijeh 522dda2f12 buffer: Fix incorrect Buffer.compare behavior 11 years ago
Sean McArthur 226f98a356 buffer: add compare and equals methods 11 years ago
goussardg 8e823bcbe6 buffer: return uint if MSB is 1 in readUInt32 11 years ago
Fedor Indutny 4c36f3e7e6 buffer: truncate buffer after string decode 11 years ago
Nick Apperson d4fcb23e38 buffer: improve {read,write}{U}Int* methods 11 years ago
Vladimir Kurchatkin e108ff4da7 buffer: fix typo in `SlowBuffer` 11 years ago
Brian White 68bfa91af7 buffer: allow toString to accept Infinity for end 11 years ago
Paul Loyd 2ca6905160 buffer: optimize writeInt* methods 11 years ago
Trevor Norris d6df1b9157 buffer: convert values to uint, not int 11 years ago
Trevor Norris e5346932bc src: make buffer size errors more explicit 11 years ago
Trevor Norris a263abaa81 buffer: no warning when encoding isn't passed 11 years ago
Trevor Norris 59dac01e4e buffer: optimize common encoding cases 11 years ago
Trevor Norris 873b5f8428 buffer: fix assert fail from JS API 12 years ago
Trevor Norris 16a60ed2a3 buffer: add NativeBuffer API 12 years ago
Ben Noordhuis bc28acdd02 buffer: fix regression in Buffer(buf) constructor 12 years ago
Trevor Norris fa89cf545c buffer: fix inspect throw if slice length too long 12 years ago
Timothy J Fontaine 2769d97e67 buffer: adhere to INSPECT_MAX_BYTES 12 years ago
Fedor Indutny b80d11d46b buffer: lint 12 years ago
Trevor Norris 2dd4a745b0 buffer: don't call ByteLength for simple encodings 12 years ago
Brian White e62d5964de buffer: remove unused parameters 12 years ago
Brian White 6d842897c5 lib: remove unused variables and functions 12 years ago
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