node-buffertools
node-buffertools copied to clipboard
working with node.js buffers made easy
Would it be possible to extend the following methods with an optional "offset" parameter? By default the parameter would take the value '0', and would behave exactly as of now,...
What I most often end up doing is the following: ``` var bufflist = []; response.on('data', function (chunk) { bufflist.push(chunk) }); response.on('end', function () { var buf = buffertools.concat.apply(buffertools, bufflist);...
buf.fill(value, [offset], [end]) is now available in basic NodeJS. It also supports offset and end. Maybe it should be deprecated in buffertools? http://nodejs.org/api/buffer.html#buffer_buf_fill_value_offset_end
I suppose this is not technically a bug, but it would be great to have compare act more like a standard comparison algorithm so that buffers can be sorted "properly"....