docs: function number2hex(number){
      var result = [];
  
      do
      {
        result.push((number & 0x0F).toString(16));
        number >>= 4;
      }
      while (number);
  
      if (result.length & 1)
        result.push('0');
  
      return result.reverse().join('');
    }