@SuppressWarnings("MethodInputParametersMustBeFinal")
  public static void intToBigEndian(final int n, final byte[] bs, int off) {
    bs[off] = (byte) (n >>> 24);
    bs[++off] = (byte) (n >>> 16);
    bs[++off] = (byte) (n >>> 8);
    bs[++off] = (byte) (n);
  }
Int to big endian.

@param n the n
@param bs the bs
@param off the off
util/src/main/java/org/hyperledger/besu/util/EndianUtils.java