function pack (data) {
  var buf = new Buffer(data.length);

  for(var i = 0; i < data.length; i++) {
    buf.writeUInt8(data[i], i);
  }

  return buf;
}
/**
 *  * pack array to u8int-buffer
 *   */
pack array to u8int-buffer
pack array to u8int - buffer
function pack (data) {
  var buf = new Buffer(data.length);
  for(var i = 0; i < data.length; i++) {
    buf.writeUInt8(data[i], i);
  }
  return buf;
}
function pack ( data ) { var buf = new Buffer ( data . length ) ; for ( var i = 0 ; i < data . length ; i ++ ) { buf . writeUInt8 ( data [ i ] , i ) ; } return buf ; }
* pack array to u8int-buffer
* pack array to u8int - buffer