summaryrefslogtreecommitdiff
path: root/src/node_crypto.cc
diff options
context:
space:
mode:
authorSean McArthur <sean.monstar@gmail.com>2014-03-06 10:21:04 -0800
committerTrevor Norris <trev.norris@gmail.com>2014-04-28 22:09:48 -0700
commit226f98a356fb62a706bc860c36c9ebc6124d776e (patch)
treebee8ac775e3cdd12188ced6c2634d7fefd56833b /src/node_crypto.cc
parent681fe599d7a45fb537f948c08e64cdce06bc585d (diff)
downloadnode-new-226f98a356fb62a706bc860c36c9ebc6124d776e.tar.gz
buffer: add compare and equals methods
compare() works like String.localeCompare such that: Buffer.compare(a, b) === a.compare(b); equals() does a native check to see if two buffers are equal. Signed-off-by: Trevor Norris <trev.norris@gmail.com>
Diffstat (limited to 'src/node_crypto.cc')
0 files changed, 0 insertions, 0 deletions