public class BinaryFileReader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected byte[] |
buf |
protected int |
curBufPos |
protected java.lang.String |
fileFullPath |
Constructor and Description |
---|
BinaryFileReader() |
Modifier and Type | Method and Description |
---|---|
protected char |
getChar(int bufPos) |
protected double |
getDouble(int bufPos) |
protected float |
getFloat(int bufPos) |
protected int |
getInt(int bufPos) |
protected long |
getLong(int bufPos) |
protected void |
initBuf(byte[] buf,
java.lang.String fileFullPath) |
protected char |
nextChar() |
protected double |
nextDouble() |
protected float |
nextFloat() |
protected int |
nextInt() |
protected long |
nextLong() |
protected byte[] buf
protected int curBufPos
protected java.lang.String fileFullPath
protected void initBuf(byte[] buf, java.lang.String fileFullPath)
protected char nextChar()
protected char getChar(int bufPos)
protected int nextInt()
protected int getInt(int bufPos)
protected long nextLong()
protected long getLong(int bufPos)
protected float nextFloat()
protected float getFloat(int bufPos)
protected double nextDouble()
protected double getDouble(int bufPos)