UNPKG

shuffle-buffer

Version:
5 lines (4 loc) 115 B
var shuffle = require('./') var buf1 = new Buffer('abcdefg') var buf2 = shuffle(buf1) console.log(buf2.toString())