public class DataInputBuffer extends RebufferingInputStream
DataInputPlus.DataInputStreamPlusbuffer| Constructor and Description | 
|---|
| DataInputBuffer(byte[] buffer) | 
| DataInputBuffer(byte[] buffer,
               int offset,
               int length) | 
| DataInputBuffer(java.nio.ByteBuffer buffer,
               boolean duplicate) | 
| Modifier and Type | Method and Description | 
|---|---|
| int | available() | 
| protected void | reBuffer()Implementations must implement this method to refill the buffer. | 
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readPrimitiveSlowly, readShort, readUnsignedByte, readUnsignedShort, readUnsignedVInt, readUTF, readVInt, skipBytesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitskipBytesFullypublic DataInputBuffer(java.nio.ByteBuffer buffer,
                       boolean duplicate)
buffer - duplicate - Whether or not to duplicate the buffer to ensure thread safetypublic DataInputBuffer(byte[] buffer,
                       int offset,
                       int length)
public DataInputBuffer(byte[] buffer)
protected void reBuffer()
                 throws java.io.IOException
RebufferingInputStreamreBuffer in class RebufferingInputStreamjava.io.IOExceptionpublic int available()
              throws java.io.IOException
available in class java.io.InputStreamjava.io.IOExceptionCopyright © 2018 The Apache Software Foundation