November Perfect Moustache

    bufferconcat

    1.0.1 • Public • Published

    BufferConcat

    install

    npm install buffer-concat

    Usage

    var fs = require('fs');
    var BufferConcat = require('buffer-concat');
    
    var rstream = fs.createReadStream('./aaa.txt');
    var bc = BufferConcat();
    
    rstream.on('data', function (chunk) {
    	bc.concat(chunk);
    });
    rstream.on('end', function () {
    	console.log(bc.toString('utf8'));
    });

    Keywords

    Install

    npm i bufferconcat

    DownloadsWeekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • cookfront