lib/buffer.js
function reverse(param) {
    var ret = new buffer.Buffer(param.length);
    for (var i = 0; i < param.length; i++) {
      ret[i] = param[param.length - i - 1];
    }
    return ret;
  }
function reverse(param) {
    var ret = new buffer.Buffer(param.length);
    for (var i = 0; i < param.length; i++) {
      ret[i] = param[param.length - i - 1];
    }
    return ret;
  }
function reverse ( param ) { var ret = new buffer . Buffer ( param . length ) ; for ( var i = 0 ; i < param . length ; i ++ ) { ret [ i ] = param [ param . length - i - 1 ] ; } return ret ; }
Reverse a buffer
@param {Buffer} param
@return {Buffer}
Reverse a buffer