public class CompactDataInput extends DataInputStream
CompactDataOutput
in
Constructor and Description |
---|
CompactDataInput(InputStream in)
Creates a new
CompactDataInput that uses the specified underlying
input stream. |
Modifier and Type | Method and Description |
---|---|
boolean[] |
readBooleanArray()
Reads a boolean array.
|
int |
readVarInt()
Reads a variable length representation of an integer value.
|
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes
available, close, mark, markSupported, read, reset, skip
public CompactDataInput(InputStream in)
CompactDataInput
that uses the specified underlying
input stream.in
- underlying input streampublic int readVarInt() throws IOException
IOException
- if thrown by the underlying streampublic boolean[] readBooleanArray() throws IOException
IOException
- if thrown by the underlying streamCopyright © 2024. All rights reserved.