|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fontbox.cff.DataInput
org.apache.fontbox.cff.CFFDataInput
public class CFFDataInput
This is specialized DataInput. It's used to parse a CFFFont.
Constructor Summary | |
---|---|
CFFDataInput(byte[] buffer)
Constructor. |
Method Summary | |
---|---|
int |
readCard16()
Read one single Card16 value from the buffer. |
int |
readCard8()
Read one single Card8 value from the buffer. |
int |
readOffset(int offSize)
Read the offset from the buffer. |
int |
readOffSize()
Read the offsize from the buffer. |
int |
readSID()
Read a SID from the buffer. |
Methods inherited from class org.apache.fontbox.cff.DataInput |
---|
getPosition, getString, hasRemaining, readByte, readBytes, readInt, readShort, readUnsignedByte, readUnsignedShort, setPosition |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CFFDataInput(byte[] buffer)
buffer
- the buffer to be readMethod Detail |
---|
public int readCard8() throws java.io.IOException
java.io.IOException
- if an error occurs during readingpublic int readCard16() throws java.io.IOException
java.io.IOException
- if an error occurs during readingpublic int readOffset(int offSize) throws java.io.IOException
offSize
- the given offsize
java.io.IOException
- if an error occurs during readingpublic int readOffSize() throws java.io.IOException
java.io.IOException
- if an error occurs during readingpublic int readSID() throws java.io.IOException
java.io.IOException
- if an error occurs during reading
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |