Skip to content

polotek/nodeconf-2012-streams-talk

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.

For my NodeConf 2012 talk, I put together some simple custom streams to show the power of the Stream API.

Custom Streams

Collector

A stream that collects data into memory. The data can be retrieved along with the number of bytes written. It is a read-write stream, so data will also be passed through.

LogStream

A stream that simply logs any data input to the console. It is a read- write stream, so data will also be passed through.

FileLogStream

A stream that takes a file path and logs any data input to that file. It is a read-write stream, so data will also be passed through.

GZipStream

A stream that runs incoming data through the gzip deflate algorithm and outputs compressed data.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published