buffer-chunks

Split buffer into chunks

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
buffer-chunks
700.1.17 years ago7 years agoMinified + gzip package size for buffer-chunks in KB

Readme

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