nofilter

2019-08-16

nofilter是什么

什么是nofilter,Read and write a growable buffer as a stream

nofilter使用教程帮助文档

Build StatusCoverage Status

NoFilter

A node.js package to read and write a stream of data into or out of what looks like a growable Buffer.

I kept needing this, and none of the existing packages seemed to have enough features, test coverage, etc.

Examples

As a data sink:

var NoFilter = require('nofilter');
nf = new NoFilter();
nf.on('finish', function() {
  console.log(nf.toString('base64'));
});
process.stdin.pipe(nf);

As a data source:

var NoFilter = require('nofilter');
nf = new NoFilter('010203', 'hex');
nf.pipe(process.stdout);

Read the API Docs.


上一篇:json-text-sequence
下一篇:cbor
相关教程
关注微信

扫码加入 JavaScript 社区

相关文章
暂无相关文章

首次访问,需要验证
微信扫码,关注即可
(仅需验证一次)

欢迎加入 JavaScript 社区

号内回复关键字:

回到顶部