Package com.itextpdf.io.font.woff2
Class JavaUnsignedUtil
java.lang.Object
com.itextpdf.io.font.woff2.JavaUnsignedUtil
Helper class to deal with unsigned primitives in java
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
asU16
(short number) static int
asU8
(byte number) static int
compareAsUnsigned
(int left, int right) static short
toU16
(int number) static byte
toU8
(int number)
-
Constructor Details
-
JavaUnsignedUtil
JavaUnsignedUtil()
-
-
Method Details
-
asU16
public static int asU16(short number) -
asU8
public static int asU8(byte number) -
toU8
public static byte toU8(int number) -
toU16
public static short toU16(int number) -
compareAsUnsigned
public static int compareAsUnsigned(int left, int right)
-