Package com.itextpdf.io.source
Class ByteUtils
java.lang.Object
com.itextpdf.io.source.ByteUtils
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final byte[]
(package private) static boolean
private static final byte[]
private static final byte[]
private static final byte[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]
getIsoBytes
(byte pre, String text) static byte[]
getIsoBytes
(byte pre, String text, byte post) static byte[]
getIsoBytes
(double d) (package private) static byte[]
getIsoBytes
(double d, ByteBuffer buffer) (package private) static byte[]
getIsoBytes
(double d, ByteBuffer buffer, boolean highPrecision) static byte[]
getIsoBytes
(int n) (package private) static byte[]
getIsoBytes
(int n, ByteBuffer buffer) static byte[]
getIsoBytes
(String text) private static int
intSize
(int l) private static int
longSize
(long l)
-
Field Details
-
HighPrecision
static boolean HighPrecision -
bytes
private static final byte[] bytes -
zero
private static final byte[] zero -
one
private static final byte[] one -
negOne
private static final byte[] negOne
-
-
Constructor Details
-
ByteUtils
public ByteUtils()
-
-
Method Details
-
getIsoBytes
-
getIsoBytes
-
getIsoBytes
-
getIsoBytes
public static byte[] getIsoBytes(int n) -
getIsoBytes
public static byte[] getIsoBytes(double d) -
getIsoBytes
-
getIsoBytes
-
getIsoBytes
-
longSize
private static int longSize(long l) -
intSize
private static int intSize(int l)
-