brut.util
Class ExtDataInput

java.lang.Object
  extended by brut.util.DataInputDelegate
      extended by brut.util.ExtDataInput
All Implemented Interfaces:
DataInput

public class ExtDataInput
extends DataInputDelegate

Author:
Ryszard Wiśniewski

Field Summary
 
Fields inherited from class brut.util.DataInputDelegate
mDelegate
 
Constructor Summary
ExtDataInput(DataInput delegate)
           
ExtDataInput(InputStream in)
           
 
Method Summary
 int[] readIntArray(int length)
           
 String readNulEndedString(int length, boolean fixed)
           
 void skipCheckByte(byte expected)
           
 void skipCheckInt(int expected)
           
 void skipCheckShort(short expected)
           
 void skipInt()
           
 
Methods inherited from class brut.util.DataInputDelegate
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtDataInput

public ExtDataInput(InputStream in)

ExtDataInput

public ExtDataInput(DataInput delegate)
Method Detail

readIntArray

public int[] readIntArray(int length)
                   throws IOException
Throws:
IOException

skipInt

public void skipInt()
             throws IOException
Throws:
IOException

skipCheckInt

public void skipCheckInt(int expected)
                  throws IOException
Throws:
IOException

skipCheckShort

public void skipCheckShort(short expected)
                    throws IOException
Throws:
IOException

skipCheckByte

public void skipCheckByte(byte expected)
                   throws IOException
Throws:
IOException

readNulEndedString

public String readNulEndedString(int length,
                                 boolean fixed)
                          throws IOException
Throws:
IOException


Copyright © 2012. All Rights Reserved.