public class CFFDataInput extends DataInput
| Constructor and Description |
|---|
CFFDataInput(byte[] buffer)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
getPosition, getString, hasRemaining, length, peekUnsignedByte, readByte, readBytes, readInt, readShort, readUnsignedByte, readUnsignedShort, setPositionpublic CFFDataInput(byte[] buffer)
buffer - the buffer to be readpublic int readCard8()
throws IOException
IOException - if an error occurs during readingpublic int readCard16()
throws IOException
IOException - if an error occurs during readingpublic int readOffset(int offSize)
throws IOException
offSize - the given offsizeIOException - if an error occurs during readingpublic int readOffSize()
throws IOException
IOException - if an error occurs during readingpublic int readSID()
throws IOException
IOException - if an error occurs during readingCopyright © 2002–2017 The Apache Software Foundation. All rights reserved.