public interface DataInputExt extends DataInput
Extension of DataInputStream to support reading unsigned int and long values as well as ASCII (0 terminated) strings from byte stream.
Modifier and Type | Method and Description |
---|---|
void |
mark(int readLimit) |
int |
read() |
String |
readASCII()
Reads a 0 terminated ASCII string from input stream
|
long |
readUnsignedInt()
Reads 4 input bytes and returns a long value in the range 0-2^32.
|
long |
readUnsignedLong()
Reads 8 input bytes and returns a long value in the range 0-2^63.
|
void |
reset() |
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes
int read() throws IOException
IOException
void mark(int readLimit) throws IOException
IOException
void reset() throws IOException
IOException
long readUnsignedInt() throws IOException
IOException
long readUnsignedLong() throws IOException
IOException
String readASCII() throws IOException
IOException
Copyright © 2016 Sensia Software LLC. All rights reserved.