net.rdr
Class JavaInStream

java.lang.Object
  extended by net.rdr.InStream
      extended by net.rdr.JavaInStream

public class JavaInStream
extends InStream


Field Summary
 
Fields inherited from class net.rdr.InStream
maxStringLength
 
Constructor Summary
JavaInStream(java.io.InputStream jis_)
           
JavaInStream(java.io.InputStream jis_, int bufSize_)
           
 
Method Summary
 long kbitsPerSecond()
           
 int pos()
           
 void readBytes(byte[] data, int offset, int length)
           
 void startTiming()
           
 void stopTiming()
           
 long timeWaited()
           
 
Methods inherited from class net.rdr.InStream
bytesAvailable, check, check, getbuf, getend, getptr, readOpaque16, readOpaque24A, readOpaque24B, readOpaque32, readOpaque8, readS16, readS32, readS8, readString, readU16, readU32, readU8, setptr, skip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaInStream

public JavaInStream(java.io.InputStream jis_,
                    int bufSize_)

JavaInStream

public JavaInStream(java.io.InputStream jis_)
Method Detail

readBytes

public void readBytes(byte[] data,
                      int offset,
                      int length)
Overrides:
readBytes in class InStream

pos

public int pos()
Specified by:
pos in class InStream

startTiming

public void startTiming()

stopTiming

public void stopTiming()

kbitsPerSecond

public long kbitsPerSecond()

timeWaited

public long timeWaited()