lib/utility.js
function buffer2StringValue(buffer) {
    var length = buffer.length;
    var output = '0x';
    for (var i = length; i > 0; i--) {
        output += buffer.slice(i - 1, i).toString('hex');
    }
    return output;
}
function buffer2StringValue(buffer) {
    var length = buffer.length;
    var output = '0x';
    for (var i = length; i > 0; i--) {
        output += buffer.slice(i - 1, i).toString('hex');
    }
    return output;
}
function buffer2StringValue ( buffer ) { var length = buffer . length ; var output = '0x' ; for ( var i = length ; i > 0 ; i -- ) { output += buffer . slice ( i - 1 , i ) . toString ( 'hex' ) ; } return output ; }
Convert a buffer value to string
Convert a buffer value to string