【文件属性】:
文件名称:buffer-includes:Node.js`buffer.includes()`ponyfill
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-26 08:09:27
deprecated JavaScript
不推荐使用
只需使用 。 自Node.js 6起已可用。
缓冲区包括
Node.js
安装
$ npm install --save buffer-includes
用法
const bufferIncludes = require ( 'buffer-includes' ) ;
bufferIncludes ( new Buffer ( 'unicorn' ) , 'corn' ) ;
//=> true
原料药
bufferIncludes(缓冲区,针,byteOffset)
有关更多详细信息,请参见文档。
有关的
-Node.js buffer.indexOf() ponyfill
buffer.equals() ponyfill
-Node.js Buffer.compare() ponyfill
执照
麻省理工学院:copyright: Sindre Sorhus
【文件预览】:
buffer-includes-main
----.gitignore(13B)
----.gitattributes(12B)
----package.json(718B)
----readme.md(1KB)
----index.js(246B)
----test.js(323B)
----.travis.yml(72B)
----.editorconfig(231B)
----license(1KB)