Package com.nimbusds.jose.util
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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]
toBytes(int intValue)
Returns a four byte array representation of the specified integer.
-
-
-
Method Detail
-
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.
-
-