public class TDataInputStream extends TFilterInputStream implements TDataInput
in
Constructor and Description |
---|
TDataInputStream(TInputStream in) |
Modifier and Type | Method and Description |
---|---|
int |
read(byte[] buffer) |
int |
read(byte[] buffer,
int offset,
int length) |
boolean |
readBoolean() |
byte |
readByte() |
char |
readChar() |
double |
readDouble() |
float |
readFloat() |
void |
readFully(byte[] buffer) |
void |
readFully(byte[] buffer,
int offset,
int length) |
int |
readInt() |
String |
readLine()
Deprecated.
|
long |
readLong() |
short |
readShort() |
int |
readUnsignedByte() |
int |
readUnsignedShort() |
String |
readUTF() |
static String |
readUTF(TDataInput in) |
int |
skipBytes(int count) |
available, close, mark, markSupported, read, reset, skip
public TDataInputStream(TInputStream in)
public final int read(byte[] buffer) throws IOException
read
in class TFilterInputStream
IOException
public final int read(byte[] buffer, int offset, int length) throws IOException
read
in class TFilterInputStream
IOException
public final boolean readBoolean() throws IOException
readBoolean
in interface TDataInput
IOException
public final byte readByte() throws IOException
readByte
in interface TDataInput
IOException
public final char readChar() throws IOException
readChar
in interface TDataInput
IOException
public final double readDouble() throws IOException
readDouble
in interface TDataInput
IOException
public final float readFloat() throws IOException
readFloat
in interface TDataInput
IOException
public final void readFully(byte[] buffer) throws IOException
readFully
in interface TDataInput
IOException
public final void readFully(byte[] buffer, int offset, int length) throws IOException
readFully
in interface TDataInput
IOException
public final int readInt() throws IOException
readInt
in interface TDataInput
IOException
@Deprecated public final String readLine() throws IOException
readLine
in interface TDataInput
IOException
public final long readLong() throws IOException
readLong
in interface TDataInput
IOException
public final short readShort() throws IOException
readShort
in interface TDataInput
IOException
public final int readUnsignedByte() throws IOException
readUnsignedByte
in interface TDataInput
IOException
public final int readUnsignedShort() throws IOException
readUnsignedShort
in interface TDataInput
IOException
public final String readUTF() throws IOException
readUTF
in interface TDataInput
IOException
public static String readUTF(TDataInput in) throws IOException
IOException
public final int skipBytes(int count) throws IOException
skipBytes
in interface TDataInput
IOException
Copyright © 2019. All rights reserved.