You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var uuencode = require ('js-uuencode');
var fs = require ('fs');
var inFile = './file.txt';
function test(){
data = "";
var infs = fs.createReadStream(inFile)
.on('open', function (){
infs
.pipe(new uuencode({encoder: true}))
.on('data', function (d){
})
.pipe(new uuencode({decoder: true}))
.on('data', function (d){
data += d;
})
.on('end', function () {
console.log("Decoded: "+data);
});
})
};
test();
The output i get is:
Decoded: ↑??☺e?♣♣?<r?¶?v▬?F↨vWfW
Obviously not correct. Is this project still going to be maintained/completed?
The text was updated successfully, but these errors were encountered:
I'm testing this with a simple text file:
wahtawever
and the example given in the readme:
The output i get is:
Decoded: ↑??☺e?♣♣?<r?¶?v▬?F↨vWfW
Obviously not correct. Is this project still going to be maintained/completed?
The text was updated successfully, but these errors were encountered: