Skip to content

Doesn't encode and/or decode correctly #2

Open
@fresheneesz

Description

@fresheneesz

I'm testing this with a simple text file:

wahtawever

and the example given in the readme:

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions