Package brut.util
Class ExtDataInput
java.lang.Object
brut.util.DataInputDelegate
brut.util.ExtDataInput
- All Implemented Interfaces:
DataInput
-
Field Summary
Fields inherited from class brut.util.DataInputDelegate
mDelegate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint[]readIntArray(int length) readNullEndedString(int length, boolean fixed) final intskipBytes(int n) The general contract of DataInput doesn't guarantee all the bytes requested will be skipped and failure can occur for many reasons.voidskipCheckByte(byte expected) voidskipCheckShort(short expected) voidskipInt()voidMethods inherited from class brut.util.DataInputDelegate
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF
-
Constructor Details
-
ExtDataInput
-
ExtDataInput
-
-
Method Details
-
readIntArray
- Throws:
IOException
-
skipInt
- Throws:
IOException
-
skipShort
- Throws:
IOException
-
skipCheckShort
- Throws:
IOException
-
skipCheckByte
- Throws:
IOException
-
skipBytes
The general contract of DataInput doesn't guarantee all the bytes requested will be skipped and failure can occur for many reasons. We override this to try harder to skip all the bytes requested (this is similar to DataInputStream's wrapper).- Specified by:
skipBytesin interfaceDataInput- Overrides:
skipBytesin classDataInputDelegate- Throws:
IOException
-
readNullEndedString
- Throws:
IOException
-