Skip to content

Support concat() with Arrays #14

@baudehlo

Description

@baudehlo

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); ... });

Which would be more efficient if you could do concat() with Arrays.

I may try and patch this in, but the C++ stuff isn't my expertise (yet). If it's easy I would suggest you do it rather than me :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions