Package com.itextpdf.io.source
Class ByteUtils
- java.lang.Object
-
- com.itextpdf.io.source.ByteUtils
-
public final class ByteUtils extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static byte[]bytes(package private) static booleanHighPrecisionprivate static byte[]negOneprivate static byte[]oneprivate static byte[]zero
-
Constructor Summary
Constructors Constructor Description ByteUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]getIsoBytes(byte pre, java.lang.String text)static byte[]getIsoBytes(byte pre, java.lang.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(java.lang.String text)private static intintSize(int l)private static intlongSize(long l)
-
-
-
Method Detail
-
getIsoBytes
public static byte[] getIsoBytes(java.lang.String text)
-
getIsoBytes
public static byte[] getIsoBytes(byte pre, java.lang.String text)
-
getIsoBytes
public static byte[] getIsoBytes(byte pre, java.lang.String text, byte post)
-
getIsoBytes
public static byte[] getIsoBytes(int n)
-
getIsoBytes
public static byte[] getIsoBytes(double d)
-
getIsoBytes
static byte[] getIsoBytes(int n, ByteBuffer buffer)
-
getIsoBytes
static byte[] getIsoBytes(double d, ByteBuffer buffer)
-
getIsoBytes
static byte[] getIsoBytes(double d, ByteBuffer buffer, boolean highPrecision)
-
longSize
private static int longSize(long l)
-
intSize
private static int intSize(int l)
-
-