Class BetterDataInputStream
- java.lang.Object
- 
- com.inductiveautomation.ignition.common.util.BetterDataInputStream
 
- 
- All Implemented Interfaces:
- java.io.DataInput
 
 public class BetterDataInputStream extends java.lang.Object implements java.io.DataInputJust like DataInputStream but uses buffered reads for readInt and readShort
- 
- 
Constructor SummaryConstructors Constructor Description BetterDataInputStream(java.io.InputStream in)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanreadBoolean()bytereadByte()charreadChar()doublereadDouble()floatreadFloat()voidreadFully(byte[] b)voidreadFully(byte[] b, int off, int len)intreadInt()java.lang.StringreadLine()Deprecated.longreadLong()shortreadShort()intreadUnsignedByte()intreadUnsignedShort()java.lang.StringreadUTF()intskipBytes(int n)
 
- 
- 
- 
Method Detail- 
readFullypublic void readFully(byte[] b) throws java.io.IOException- Specified by:
- readFullyin interface- java.io.DataInput
- Throws:
- java.io.IOException
 
 - 
readFullypublic void readFully(byte[] b, int off, int len) throws java.io.IOException- Specified by:
- readFullyin interface- java.io.DataInput
- Throws:
- java.io.IOException
 
 - 
skipBytespublic int skipBytes(int n) throws java.io.IOException- Specified by:
- skipBytesin interface- java.io.DataInput
- Throws:
- java.io.IOException
 
 - 
readBooleanpublic boolean readBoolean() throws java.io.IOException- Specified by:
- readBooleanin interface- java.io.DataInput
- Throws:
- java.io.IOException
 
 - 
readBytepublic byte readByte() throws java.io.IOException- Specified by:
- readBytein interface- java.io.DataInput
- Throws:
- java.io.IOException
 
 - 
readUnsignedBytepublic int readUnsignedByte() throws java.io.IOException- Specified by:
- readUnsignedBytein interface- java.io.DataInput
- Throws:
- java.io.IOException
 
 - 
readShortpublic short readShort() throws java.io.IOException- Specified by:
- readShortin interface- java.io.DataInput
- Throws:
- java.io.IOException
 
 - 
readUnsignedShortpublic int readUnsignedShort() throws java.io.IOException- Specified by:
- readUnsignedShortin interface- java.io.DataInput
- Throws:
- java.io.IOException
 
 - 
readCharpublic char readChar() throws java.io.IOException- Specified by:
- readCharin interface- java.io.DataInput
- Throws:
- java.io.IOException
 
 - 
readIntpublic int readInt() throws java.io.IOException- Specified by:
- readIntin interface- java.io.DataInput
- Throws:
- java.io.IOException
 
 - 
readLongpublic long readLong() throws java.io.IOException- Specified by:
- readLongin interface- java.io.DataInput
- Throws:
- java.io.IOException
 
 - 
readFloatpublic float readFloat() throws java.io.IOException- Specified by:
- readFloatin interface- java.io.DataInput
- Throws:
- java.io.IOException
 
 - 
readDoublepublic double readDouble() throws java.io.IOException- Specified by:
- readDoublein interface- java.io.DataInput
- Throws:
- java.io.IOException
 
 - 
readLine@Deprecated public java.lang.String readLine() throws java.io.IOExceptionDeprecated.- Specified by:
- readLinein interface- java.io.DataInput
- Throws:
- java.io.IOException
 
 - 
readUTFpublic java.lang.String readUTF() throws java.io.IOException- Specified by:
- readUTFin interface- java.io.DataInput
- Throws:
- java.io.IOException
 
 
- 
 
-