public class DataInputBuffer extends NIODataInputStream
DataInputPlus.DataInputStreamPlus
Constructor and Description |
---|
DataInputBuffer(byte[] buffer) |
DataInputBuffer(byte[] buffer,
int offset,
int length) |
DataInputBuffer(java.nio.ByteBuffer buf,
boolean duplicate) |
Modifier and Type | Method and Description |
---|---|
protected int |
readNext() |
available, close, markSupported, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUnsignedVInt, readUTF, readVInt, reset, skipBytes
public DataInputBuffer(java.nio.ByteBuffer buf, boolean duplicate)
buf
- duplicate
- Whether or not to duplicate the buffer to ensure thread safetypublic DataInputBuffer(byte[] buffer, int offset, int length)
public DataInputBuffer(byte[] buffer)
protected int readNext() throws java.io.IOException
readNext
in class NIODataInputStream
java.io.IOException
Copyright © 2015 The Apache Software Foundation