concat-stream, but for outputting typed arrays
like concat-stream, but for collecting
input into a single
var fs = require'fs'concat = require'typed-concat-stream'fscreateReadStream'/usr/share/dict/words'pipeconcaton'data'// typed_data contains all of the data from// /usr/share/dict/words
creates a concat-stream. does not write into output until the
source stream emits
end (so it might be slow!).
out is provided, it'll use that variable to write into instead
of creating a new typed array instance.