Qizx/Open v0.4

net.xfra.qizxopen.util
Class InputByteStream

java.lang.Object
  |
  +--net.xfra.qizxopen.util.InputByteStream

public class InputByteStream
extends java.lang.Object


Constructor Summary
InputByteStream()
           
InputByteStream(java.io.File file)
           
InputByteStream(java.io.InputStream in)
           
 
Method Summary
 void close()
           
 long decode()
           
 int getByte()
           
 int getBytes(byte[] buffer)
           
 int getBytes(byte[] buffer, int start, int reqsize)
           
 char[] getChars()
           
 void getChars(char[] chars, int length)
           
 double getDouble()
           
 int getVint()
           
 long getVlong()
           
 void restartOn(byte[] buffer, int size)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputByteStream

public InputByteStream(java.io.File file)
                throws java.io.FileNotFoundException

InputByteStream

public InputByteStream(java.io.InputStream in)

InputByteStream

public InputByteStream()
Method Detail

restartOn

public void restartOn(byte[] buffer,
                      int size)
               throws java.io.IOException
java.io.IOException

close

public void close()
           throws java.io.IOException
java.io.IOException

getByte

public int getByte()
            throws java.io.IOException
java.io.IOException

getBytes

public int getBytes(byte[] buffer)
             throws java.io.IOException
java.io.IOException

getBytes

public int getBytes(byte[] buffer,
                    int start,
                    int reqsize)
             throws java.io.IOException
java.io.IOException

getVint

public int getVint()
            throws java.io.IOException
java.io.IOException

getVlong

public long getVlong()
              throws java.io.IOException
java.io.IOException

getDouble

public double getDouble()
                 throws java.io.IOException
java.io.IOException

getChars

public char[] getChars()
                throws java.io.IOException
java.io.IOException

getChars

public void getChars(char[] chars,
                     int length)
              throws java.io.IOException
java.io.IOException

decode

public long decode()

 Copyright Xavier FRANC 2003-2004