mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-11-23 08:41:01 -05:00
9 lines
224 B
JavaScript
9 lines
224 B
JavaScript
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>
|