public class DataInput2
Used for serialization
Modifier and Type | Class and Description |
---|---|
static class |
DataInput2.ByteArray
DataInput on top of
byte[] |
static class |
DataInput2.ByteBuffer
Wraps java.nio.ByteBuffer and provides DataInput
|
static class |
DataInput2.DataInputToStream
Wraps
DataInput into InputStream |
static class |
DataInput2.Stream |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
getPos() |
byte[] |
internalByteArray() |
java.nio.ByteBuffer |
internalByteBuffer() |
double |
readDouble() |
float |
readFloat() |
void |
readFully() |
java.lang.String |
readLine() |
java.lang.String |
readUTF() |
int |
readUnsignedShort() |
void |
setPos() |
int |
unpackInt() |
void |
unpackIntArray() |
long |
unpackLong() |
void |
unpackLongArray() |
long[] |
unpackLongArrayDeltaCompression() |
void |
unpackLongSkip() |
public float readFloat()
public double readDouble()
public java.lang.String readLine()
public java.lang.String readUTF()
public int readUnsignedShort()
public void readFully()
public int getPos()
public void setPos()
public byte[] internalByteArray()
public java.nio.ByteBuffer internalByteBuffer()
public void close()
public long unpackLong()
public int unpackInt()
public long[] unpackLongArrayDeltaCompression()
public void unpackLongArray()
public void unpackIntArray()
public void unpackLongSkip()