Class IntegerUtils

java.lang.Object
com.nimbusds.jose.util.IntegerUtils

public class IntegerUtils extends Object
Integer utilities.
Version:
2015-05-12
Author:
Vladimir Dzhuvinov
  • Method Details

    • toBytes

      public static byte[] toBytes(int intValue)
      Returns a four byte array representation of the specified integer.
      Parameters:
      intValue - The integer to be converted.
      Returns:
      The byte array representation of the integer.