buffer-equal
Return whether two buffers are equal.
example
var bufferEqual = ;consoledir;consoledir;consoledir;
output:
true
false
undefined
methods
var bufferEqual =
bufferEqual(a, b)
Return whether the two buffers a
and b
are equal.
If a
or b
is not a buffer, return undefined
.
install
With npm do:
npm install buffer-equal
license
MIT