docs: public static byte[] intToBytesNoLeadZeroes(int val) {
  
          if (val == 0)
              return EMPTY_BYTE_ARRAY;
  
          int lenght = 0;
  
          int tmpVal = val;
          while (tmpVal != 0) {
              tmpVal = tmpVal >>> 8;
              ++lenght;
          }
  
          byte[] result = new byte[lenght];
  
          int index = result.length - 1;
          while (val != 0) {
  
              result[index] = (byte) (val & 0xFF);
              val = val >>> 8;
              index -= 1;
          }
  
          return result;
      }