Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1
License
NotificationsYou must be signed in to change notification settings
inspect-js/buffer-equal
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Return whether two buffers are equal.
varbufferEqual=require('buffer-equal');console.dir(bufferEqual(newBuffer([253,254,255]),newBuffer([253,254,255])));console.dir(bufferEqual(newBuffer('abc'),newBuffer('abcd')));console.dir(bufferEqual(newBuffer('abc'),'abc'));
output:
truefalseundefined
varbufferEqual=require('buffer-equal');
Return whether the two buffersa andb are equal.
Ifa orb is not a buffer, returnundefined.
Withnpm do:
npm install buffer-equalMIT
About
No description, website, or topics provided.
Resources
License
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.
