binary-stream-replace
A transform-stream for Node and browsers that efficeintly replaces sequences of bytes in a binary stream. Can be restricted to replace first n occurrences only.
Usage
var ReplaceStream = ;// replace first 10 occurrences of byte sequence `fe fe` with// `00 00 01`var rs =;processstdin;