code: public static byte[] intArrayToByteArray(int[] intArray) {
  
          byte[] byteArray = new byte[intArray.length];
  
          for (int i = 0; i < intArray.length; i++) {
              byteArray[i] = intToByte(intArray[i]);
          }
  
          return byteArray;
  
      }
docs: Convert an array of ints to an array of unsigned bytes. This is useful when you want to
  construct a literal array of unsigned bytes with values greater than 127.
  Only the lowest 8 bits of the int values are used.
  
  @param intArray  The array of ints to be converted
  @return          The corresponding array of unsigned bytes