java.io.Closeable, java.io.DataInput, java.lang.AutoCloseablepublic class CompactDataInput
extends java.io.DataInputStream
CompactDataOutput| Constructor | Description |
|---|---|
CompactDataInput(java.io.InputStream in) |
Creates a new
CompactDataInput that uses the specified underlying
input stream. |
| Modifier and Type | Method | 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, skipBytespublic CompactDataInput(java.io.InputStream in)
CompactDataInput that uses the specified underlying
input stream.in - underlying input streampublic int readVarInt()
throws java.io.IOException
java.io.IOException - if thrown by the underlying streampublic boolean[] readBooleanArray()
throws java.io.IOException
java.io.IOException - if thrown by the underlying streamCopyright © 2018. All rights reserved.