Qizx/open API

net.axyana.qizxopen.util
Class ByteInputBase

java.lang.Object
  extended bynet.axyana.qizxopen.util.ByteInputBase
All Implemented Interfaces:
ByteInput, java.io.Serializable
Direct Known Subclasses:
ByteInputStream, CoreByteInput

public abstract class ByteInputBase
extends java.lang.Object
implements ByteInput, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
ByteInputBase()
           
ByteInputBase(int bufferSize)
           
 
Method Summary
 long decode()
           
 int getByte()
           
 int getBytes(byte[] buffer)
           
 int getBytes(byte[] buffer, int start, int reqsize)
           
 char[] getChars()
           
 void getChars(char[] chars, int length)
           
 void getChars(char[] buffer, int pos, int length, boolean wide)
           
 double getDouble()
           
 java.lang.String getString()
           
 int getVint()
           
 long getVlong()
           
 void inspect()
           
 int read()
           
 int read(byte[] buffer)
           
 int read(byte[] buffer, int off, int len)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteInputBase

public ByteInputBase()

ByteInputBase

public ByteInputBase(int bufferSize)
Method Detail

getByte

public int getByte()
            throws java.io.IOException
Specified by:
getByte in interface ByteInput
Throws:
java.io.IOException

getBytes

public int getBytes(byte[] buffer)
             throws java.io.IOException
Specified by:
getBytes in interface ByteInput
Throws:
java.io.IOException

getBytes

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

getVint

public int getVint()
            throws java.io.IOException
Specified by:
getVint in interface ByteInput
Throws:
java.io.IOException

getVlong

public long getVlong()
              throws java.io.IOException
Specified by:
getVlong in interface ByteInput
Throws:
java.io.IOException

getDouble

public double getDouble()
                 throws java.io.IOException
Specified by:
getDouble in interface ByteInput
Throws:
java.io.IOException

getChars

public void getChars(char[] buffer,
                     int pos,
                     int length,
                     boolean wide)
              throws java.io.IOException
Specified by:
getChars in interface ByteInput
Throws:
java.io.IOException

getString

public java.lang.String getString()
                           throws java.io.IOException
Specified by:
getString in interface ByteInput
Throws:
java.io.IOException

getChars

public char[] getChars()
                throws java.io.IOException
Specified by:
getChars in interface ByteInput
Throws:
java.io.IOException

getChars

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

decode

public long decode()

read

public int read(byte[] buffer)
         throws java.io.IOException
Throws:
java.io.IOException

read

public int read(byte[] buffer,
                int off,
                int len)
         throws java.io.IOException
Throws:
java.io.IOException

read

public int read()
         throws java.io.IOException
Throws:
java.io.IOException

inspect

public void inspect()
Specified by:
inspect in interface ByteInput

© 2005 Axyana Software