Package com.itextpdf.io.font.cmap
Class CMapByteCid.Cursor
java.lang.Object
com.itextpdf.io.font.cmap.CMapByteCid.Cursor
- Enclosing class:
- CMapByteCid
Tracks the unread portion of a byte sequence during CID decoding.
-
Constructor Summary
ConstructorsConstructorDescriptionCursor(int offset, int length) Creates a cursor over a byte sequence segment. -
Method Summary
-
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
-