You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
224 B
10 lines
224 B
4 years ago
|
var Buffers = require('buffers');
|
||
|
var bufs = Buffers();
|
||
|
bufs.push(new Buffer([1,2,3]));
|
||
|
bufs.push(new Buffer([4,5,6,7]));
|
||
|
bufs.push(new Buffer([8,9,10]));
|
||
|
|
||
|
console.dir(bufs.slice(2,8))
|
||
|
|
||
|
// Output: <Buffer 03 04 05 06 07 08>
|