Class ByteUtils

java.lang.Object
com.itextpdf.io.source.ByteUtils

public final class ByteUtils extends Object
  • 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

      public static byte[] getIsoBytes(String text)
    • getIsoBytes

      public static byte[] getIsoBytes(byte pre, String text)
    • getIsoBytes

      public static byte[] getIsoBytes(byte pre, 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)