buf-compare:Node.js 0.12 Buffer.compare()ponyfill

时间:2021-05-26 08:08:41
【文件属性】:
文件名称:buf-compare:Node.js 0.12 Buffer.compare()ponyfill
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-26 08:08:41
deprecated JavaScript 不推荐使用 只需使用 。 自Node.js 0.12开始提供。 buf比较 Node.js 安装 $ npm install --save buf-compare 用法 var bufCompare = require ( 'buf-compare' ) ; bufCompare ( new Buffer ( 'a' ) , new Buffer ( 'a' ) ) ; //=> 0 bufCompare ( new Buffer ( 'a' ) , new Buffer ( 'b' ) ) ; //=> -1 原料药 请参阅。 有关的 buffer.equals() ponyfill -Node.js buffer.indexOf() ponyfill 执照 麻省理工学院:copyright:
【文件预览】:
buf-compare-main
----.jshintrc(170B)
----.gitignore(13B)
----package.json(623B)
----.travis.yml(72B)
----index.js(431B)
----test.js(501B)
----license(1KB)
----readme.md(1KB)
----.gitattributes(12B)
----.editorconfig(231B)

网友评论