public class BinaryFileWriter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected byte[] |
buf |
protected int |
bufInc |
protected int |
curBufPos |
protected int |
curBufSize |
protected int |
threshold |
Constructor and Description |
---|
BinaryFileWriter() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBuffer() |
protected void |
increaseBuf() |
protected void |
initBuf(int initSize) |
protected void |
setBufferIncreaseMode(boolean increaseMode) |
protected void |
writeByte(byte b) |
protected void |
writeChar(int ch) |
protected void |
writeDouble(double d) |
protected void |
writeFloat(float f) |
protected void |
writeInt(int i) |
protected void |
writeLong(long l) |
protected byte[] buf
protected int curBufSize
protected int bufInc
protected int curBufPos
protected int threshold
protected void initBuf(int initSize)
protected void increaseBuf()
protected void setBufferIncreaseMode(boolean increaseMode)
public byte[] getBuffer()
protected void writeByte(byte b)
protected void writeChar(int ch)
protected void writeInt(int i)
protected void writeLong(long l)
protected void writeFloat(float f)
protected void writeDouble(double d)