StringDecoder

    1. var decoder = new StringDecoder('utf8');
    2. var cent = new Buffer([0xC2, 0xA2]);
    3. console.log(decoder.write(euro));

    decoder.end()