buffer-chunks
Split buffer into chunks
Installation
npm install buffer-chunks
Usage
var list = chunks(new Buffer('aaaaazzzzzbbbbb'), 5);
// ->
[ <Buffer 61 61 61 61 61>,
<Buffer 7a 7a 7a 7a 7a>,
<Buffer 62 62 62 62 62> ]
License
MIT
Split buffer into chunks
npm install buffer-chunks
var list = chunks(new Buffer('aaaaazzzzzbbbbb'), 5);
// ->
[ <Buffer 61 61 61 61 61>,
<Buffer 7a 7a 7a 7a 7a>,
<Buffer 62 62 62 62 62> ]
MIT