java.io.Closeable, java.io.DataInput, java.lang.AutoCloseable@Private public class ByteBufferDataReader extends DataInputStream
| Constructor | Description |
|---|---|
ByteBufferDataReader(InputBuffer buffer) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
boolean |
hasUnReadData() |
|
int |
read() |
|
int |
read(byte[] b,
int off,
int len) |
|
boolean |
readBoolean() |
|
byte |
readByte() |
|
char |
readChar() |
|
double |
readDouble() |
|
float |
readFloat() |
|
void |
readFully(byte[] b) |
|
void |
readFully(byte[] b,
int off,
int len) |
|
int |
readInt() |
|
java.lang.String |
readLine() |
|
long |
readLong() |
|
short |
readShort() |
|
int |
readUnsignedByte() |
|
int |
readUnsignedShort() |
|
java.lang.String |
readUTF() |
|
void |
reset(InputBuffer buffer) |
|
int |
skipBytes(int n) |
public ByteBufferDataReader(InputBuffer buffer)
public void reset(InputBuffer buffer)
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic void readFully(byte[] b)
throws java.io.IOException
java.io.IOExceptionpublic void readFully(byte[] b,
int off,
int len)
throws java.io.IOException
java.io.IOExceptionpublic int skipBytes(int n)
throws java.io.IOException
java.io.IOExceptionpublic boolean readBoolean()
throws java.io.IOException
java.io.IOExceptionpublic byte readByte()
throws java.io.IOException
java.io.IOExceptionpublic int readUnsignedByte()
throws java.io.IOException
java.io.IOExceptionpublic short readShort()
throws java.io.IOException
java.io.IOExceptionpublic int readUnsignedShort()
throws java.io.IOException
java.io.IOExceptionpublic char readChar()
throws java.io.IOException
java.io.IOExceptionpublic int readInt()
throws java.io.IOException
java.io.IOExceptionpublic long readLong()
throws java.io.IOException
java.io.IOExceptionpublic float readFloat()
throws java.io.IOException
java.io.IOExceptionpublic double readDouble()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String readLine()
throws java.io.IOException
java.io.IOExceptionpublic final java.lang.String readUTF()
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.lang.AutoCloseableclose in interface java.io.Closeableclose in class java.io.InputStreamjava.io.IOExceptionpublic boolean hasUnReadData()
hasUnReadData in class DataInputStreamCopyright © 2008–2025 Apache Software Foundation. All rights reserved.