Get the crc32c calculation from a stream.
$ npm install --save crc32c-stream
var crcStream = require('crc32c-stream');
var fs = require('fs');
crcStream(fs.createReadStream('/unicorns.txt'), function(err, results) {
if (!err) {
// results => rw==
}
});
Required
Type: string
Lorem ipsum.
Required
Type: Function
Type: Error
An error emitted from the provided stream.
Type: String
The base64 encoded results of the calculation.