UNPKG
shuffle-buffer
Version:
latest (1.0.1)
1.0.1
1.0.0
shuffle buffer
github.com/jbenet/node-shuffle-buffer
jbenet/node-shuffle-buffer
shuffle-buffer
/
README.md
14 lines
(10 loc)
•
207 B
Markdown
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# shuffle-buffer
Shuffles your buffers.
## Example
```js >
var
shuffle =
require
(
'shuffle-buffer'
) >
var
buf1 =
new
Buffer
(
'abcdefg'
) >
var
buf2 =
shuffle
(buf1) > console.
log
(buf2.
toString
()) fbgdaec ```