code: public static byte[] getBytes(int value) {
  
      byte[] valueBytes = new byte[4];
  
      valueBytes[0] = (byte) (value >>> 24 & 0xFF);
      valueBytes[1] = (byte) (value >>> 16 & 0xFF);
      valueBytes[2] = (byte) (value >>> 8 & 0xFF);
      valueBytes[3] = (byte) (value & 0xFF);
  
      return valueBytes;
    }
docs: Gets the individual bytes of an integer (int) value.  An integer is a 32-bit value consisting of 4 bytes
  where each byte of the integer (int) value is returned in an element of a 4-element byte array.
  
  @param value the integer (int) value to convert into a byte array consisting of the int value's 4 bytes
  (or 32-bit value).
  @return a byte array containing the individual bytes making up the value of the integer (int).