cdev.data
Class xdrReader

java.lang.Object
  |
  +--cdev.data.xdrReader

public class xdrReader
extends java.lang.Object


Field Summary
static int XDR_CHAR_SIZE
           
 
Constructor Summary
xdrReader(byte[] buf)
           
xdrReader(java.io.InputStream in)
           
 
Method Summary
 byte get_byte()
           
 byte[] get_bytes()
           
 byte[] get_bytes(int count)
           
 char get_char()
           
 double get_double()
           
 float get_float()
           
 int get_int()
           
 long get_long()
           
 byte[] get_opaque()
           
 short get_short()
           
 int get_string_len()
           
 java.lang.String get_string()
           
 java.lang.String[] get_string(int count)
           
 byte get_u_char()
           
 long get_u_int()
           
 long get_u_long()
           
 int get_u_short()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XDR_CHAR_SIZE

public static int XDR_CHAR_SIZE
Constructor Detail

xdrReader

public xdrReader(byte[] buf)

xdrReader

public xdrReader(java.io.InputStream in)
Method Detail

get_byte

public final byte get_byte()
                    throws java.io.IOException

get_char

public final char get_char()
                    throws java.io.IOException

get_u_char

public final byte get_u_char()
                      throws java.io.IOException

get_short

public final short get_short()
                      throws java.io.IOException

get_u_short

public final int get_u_short()
                      throws java.io.IOException

get_int

public final int get_int()
                  throws java.io.IOException

get_u_int

public final long get_u_int()
                     throws java.io.IOException

get_long

public final long get_long()
                    throws java.io.IOException

get_u_long

public final long get_u_long()
                      throws java.io.IOException

get_float

public final float get_float()
                      throws java.io.IOException

get_double

public final double get_double()
                        throws java.io.IOException

get_bytes

public final byte[] get_bytes()
                       throws java.io.IOException

get_bytes

public final byte[] get_bytes(int count)
                       throws java.io.IOException

get_string_len

public final int get_string_len()
                         throws java.io.IOException

get_string

public final java.lang.String get_string()
                                  throws java.io.IOException

get_string

public final java.lang.String[] get_string(int count)
                                    throws java.io.IOException

get_opaque

public final byte[] get_opaque()
                        throws java.io.IOException