public class DataOutputBufferFixed extends DataOutputBuffer
scratchBuffer
buffer, strictFlushing
channel
Constructor and Description |
---|
DataOutputBufferFixed() |
DataOutputBufferFixed(java.nio.ByteBuffer buffer) |
DataOutputBufferFixed(int size) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
protected void |
doFlush(int count) |
protected void |
expandToFit(long newSize) |
asNewBuffer, buffer, buffer, close, flush, getData, getLength, hasPosition, newDefaultChannel, position, toByteArray
applyToChannel, order, write, write, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUnsignedVInt, writeUTF, writeVInt
retrieveTemporaryBuffer
public DataOutputBufferFixed()
public DataOutputBufferFixed(int size)
public DataOutputBufferFixed(java.nio.ByteBuffer buffer)
protected void doFlush(int count) throws java.io.IOException
doFlush
in class DataOutputBuffer
java.io.IOException
protected void expandToFit(long newSize)
expandToFit
in class DataOutputBuffer
public void clear()
clear
in class DataOutputBuffer
Copyright © 2009- The Apache Software Foundation