All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ants.Xdr

java.lang.Object
   |
   +----ants.Xdr

public final class Xdr
extends Object
Base class with convenience macros for external data representation. These methods are declared final so that they can be inlined with optimization.


Variable Index

 o BOOLEAN
 o BYTE
 o INT
 o LONG
 o SHORT
 o TYPEID

Constructor Index

 o Xdr(byte[])
 o Xdr(byte[], int)
 o Xdr(byte[], int, int)
 o Xdr(ByteArray, int)
 o Xdr(ByteArray, int, int)
 o Xdr(int)

Method Index

 o BOOLEAN()
 o BYTE()
 o BYTEARRAY()
 o BYTEARRAY(ByteArray)
 o BYTES(byte[], int, int)
 o INT()
 o length()
 o LONG()
 o PUT(boolean)
 o PUT(byte)
 o PUT(byte[], int, int)
 o PUT(ByteArray)
 o PUT(int)
 o PUT(long)
 o PUT(short)
 o PUT(String)
 o PUT(TypeID)
 o SHORT()
 o skip(int)
 o STRING()
 o STRING(String)
 o TYPEID()

Variables

 o BOOLEAN
 public static final int BOOLEAN
 o BYTE
 public static final int BYTE
 o SHORT
 public static final int SHORT
 o INT
 public static final int INT
 o LONG
 public static final int LONG
 o TYPEID
 public static final int TYPEID

Constructors

 o Xdr
 public Xdr(int len)
 o Xdr
 public Xdr(byte buf[])
 o Xdr
 public Xdr(byte buf[],
            int offset)
 o Xdr
 public Xdr(byte buf[],
            int offset,
            int len) throws IndexOutOfBoundsException
 o Xdr
 public Xdr(ByteArray buf,
            int offset)
 o Xdr
 public Xdr(ByteArray buf,
            int offset,
            int len) throws IndexOutOfBoundsException

Methods

 o STRING
 public static final int STRING(String x)
 o BYTEARRAY
 public static final int BYTEARRAY(ByteArray x)
 o length
 public final int length()
 o PUT
 public final void PUT(boolean x)
 o PUT
 public final void PUT(byte x)
 o PUT
 public final void PUT(short x)
 o PUT
 public final void PUT(int x)
 o PUT
 public final void PUT(long x)
 o PUT
 public final void PUT(TypeID t)
 o PUT
 public final void PUT(String x)
 o PUT
 public final void PUT(ByteArray x)
 o PUT
 public final void PUT(byte x[],
                       int start,
                       int length)
 o BOOLEAN
 public final boolean BOOLEAN()
 o BYTE
 public final byte BYTE()
 o SHORT
 public final short SHORT()
 o INT
 public final int INT()
 o LONG
 public final long LONG()
 o TYPEID
 public final TypeID TYPEID()
 o STRING
 public final String STRING()
 o BYTEARRAY
 public final ByteArray BYTEARRAY()
 o BYTES
 public final void BYTES(byte x[],
                         int start,
                         int length)
 o skip
 public final void skip(int count)

All Packages  Class Hierarchy  This Package  Previous  Next  Index