Class CMapByteCid.Cursor

java.lang.Object
com.itextpdf.io.font.cmap.CMapByteCid.Cursor
Enclosing class:
CMapByteCid

protected static class CMapByteCid.Cursor extends Object
Tracks the unread portion of a byte sequence during CID decoding.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Cursor(int offset, int length)
    Creates a cursor over a byte sequence segment.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Retrieves the length of the object.
    int
    Retrieves the offset of the object.
    void
    setLength(int length)
    Sets the length value of the object.
    void
    setOffset(int offset)
    Sets the offset of the object.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Cursor

      public Cursor (int offset, int length)
      Creates a cursor over a byte sequence segment.
      Parameters:
      offset - the zero-based first unread byte offset
      length - the number of unread bytes
  • Method Details

    • getOffset

      public int getOffset()
      Retrieves the offset of the object.
      Returns:
      offset value
    • setOffset

      public void setOffset (int offset)
      Sets the offset of the object.
      Parameters:
      offset - offset value
    • getLength

      public int getLength()
      Retrieves the length of the object.
      Returns:
      length value
    • setLength

      public void setLength (int length)
      Sets the length value of the object.
      Parameters:
      length - length value