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, readByte, readBytes, readInt, readShort, readUnsignedByte, readUnsignedShort, setPosition
public CFFDataInput(byte[] buffer)
buffer
- the buffer to be readpublic 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 offsizejava.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