StarOffice 5.2 API
reverse engineered by classdoc

com.sun.star.lib.uno.protocols.iiop
Class CDRInputStream

java.lang.Object
  |
  +--com.sun.star.lib.uno.protocols.iiop.CDRInputStream
Direct Known Subclasses:
com.sun.star.lib.uno.protocols.iiop.Unmarshal

public synchronized class CDRInputStream
extends java.lang.Object


Field Summary
static boolean DEBUG
           
protected  byte[] buf
           
protected  int index
           
protected  boolean littleEndian
           
protected  int size
           
 
Constructor Summary
CDRInputStream(byte[] b1, int i, boolean b2)
           
 
Method Summary
private  void alignAndCheck(int i1, int i2)
           
 boolean isAtEnd()
           
 boolean isLittleEndian()
           
 char read_ascii()
           
 java.lang.String read_asciistring()
           
 boolean read_boolean()
           
 boolean[] read_boolean_array()
           
 double read_double()
           
 double[] read_double_array()
           
 float read_float()
           
 float[] read_float_array()
           
 int read_long()
           
 int[] read_long_array()
           
 long read_longlong()
           
 long[] read_longlong_array()
           
 byte read_octet()
           
 byte[] read_octet_array()
           
 short read_short()
           
 short[] read_short_array()
           
 char read_unicode()
           
 char[] read_unicode_array()
           
 java.lang.String read_unicodestring()
           
 void rewind()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

public static final boolean DEBUG

buf

protected byte[] buf

index

protected int index

littleEndian

protected boolean littleEndian

size

protected int size
Constructor Detail

CDRInputStream

public CDRInputStream(byte[] b1,
                      int i,
                      boolean b2)
Method Detail

alignAndCheck

private final void alignAndCheck(int i1,
                                 int i2)
                          throws java.io.IOException

isAtEnd

public final boolean isAtEnd()

isLittleEndian

public boolean isLittleEndian()

read_ascii

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

read_asciistring

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

read_boolean

public final boolean read_boolean()
                           throws java.io.IOException

read_boolean_array

public final boolean[] read_boolean_array()
                                   throws java.io.IOException

read_double

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

read_double_array

public final double[] read_double_array()
                                 throws java.io.IOException

read_float

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

read_float_array

public final float[] read_float_array()
                               throws java.io.IOException

read_long

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

read_long_array

public final int[] read_long_array()
                            throws java.io.IOException

read_longlong

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

read_longlong_array

public final long[] read_longlong_array()
                                 throws java.io.IOException

read_octet

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

read_octet_array

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

read_short

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

read_short_array

public final short[] read_short_array()
                               throws java.io.IOException

read_unicode

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

read_unicode_array

public final char[] read_unicode_array()
                                throws java.io.IOException

read_unicodestring

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

rewind

public final void rewind()

StarOffice 5.2 API
reverse engineered by classdoc