fec-stream
v1.0.0
Published
Streaming forward error correction.
Downloads
20
Readme
Forward Error Correction
A transform stream module for node.js.
Motivation
Node is all about I/O, so this might help someone who was trying to do I/O over a crappy channel. I don't have any specific use for it at the moment.
Usage
npm install fec-stream
var fec = require('fec-stream');
var encoder = new fec.Encoder({method: fec.methods.hamming84});
var decoder = new fec.Decoder({method: fec.methods.hamming84});
readableStream.pipe(encoder).pipe(decoder).pipe(writableStream);
The available methods at this time are:
- Hamming(8,4)
Development
Run tests with mocha.
Todo
Raptor coding.