static reverseBuffer(buffer) {
    let t = Buffer.alloc(buffer.length)
    for (let i = 0, j = buffer.length - 1; i <= j; ++i, --j) {
      t[i] = buffer[j];
      t[j] = buffer[i];
    }
    return t;
  }
/**
  * Builds and returns reverse buffer.
  *
  * @param buffer
  * @return reverse buffer
  */
Builds and returns reverse buffer.
@param buffer
@return reverse buffer
Builds and returns reverse buffer . @param buffer @return reverse buffer
static reverseBuffer(buffer) {
    let t = Buffer.alloc(buffer.length)
    for (let i = 0, j = buffer.length - 1; i <= j; ++i, --j) {
      t[i] = buffer[j];
      t[j] = buffer[i];
    }
    return t;
  }
static reverseBuffer ( buffer ) { let t = Buffer . alloc ( buffer . length ) for ( let i = 0 , j = buffer . length - 1 ; i <= j ; ++ i , -- j ) { t [ i ] = buffer [ j ] ; t [ j ] = buffer [ i ] ; } return t ; }
Builds and returns reverse buffer.
Builds and returns reverse buffer .