Class ByteBuffer

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

public class ByteBuffer extends Object
  • Field Details

    • count

      protected int count
  • Constructor Details

    • ByteBuffer

      public ByteBuffer()
    • ByteBuffer

      public ByteBuffer (int size)
  • Method Details

    • getHex

      public static int getHex (int v)
    • append

      public ByteBuffer append (byte b)
    • append

      public ByteBuffer append (byte[] b, int off, int len)
    • append

      public ByteBuffer append (byte[] b)
    • append

      public ByteBuffer append (int b)
    • append

      public ByteBuffer append (String str)
    • appendHex

      public ByteBuffer appendHex (byte b)
    • get

      public byte get (int index)
    • getInternalBuffer

      public byte[] getInternalBuffer()
    • size

      public int size()
    • isEmpty

      public boolean isEmpty()
    • capacity

      public int capacity()
    • reset

      public ByteBuffer reset()
    • toByteArray

      public byte[] toByteArray (int off, int len)
    • toByteArray

      public byte[] toByteArray()
    • startsWith

      public boolean startsWith (byte[] b)