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.
-
BOOLEAN
-
-
BYTE
-
-
INT
-
-
LONG
-
-
SHORT
-
-
TYPEID
-
-
Xdr(byte[])
-
-
Xdr(byte[], int)
-
-
Xdr(byte[], int, int)
-
-
Xdr(ByteArray, int)
-
-
Xdr(ByteArray, int, int)
-
-
Xdr(int)
-
-
BOOLEAN()
-
-
BYTE()
-
-
BYTEARRAY()
-
-
BYTEARRAY(ByteArray)
-
-
BYTES(byte[], int, int)
-
-
INT()
-
-
length()
-
-
LONG()
-
-
PUT(boolean)
-
-
PUT(byte)
-
-
PUT(byte[], int, int)
-
-
PUT(ByteArray)
-
-
PUT(int)
-
-
PUT(long)
-
-
PUT(short)
-
-
PUT(String)
-
-
PUT(TypeID)
-
-
SHORT()
-
-
skip(int)
-
-
STRING()
-
-
STRING(String)
-
-
TYPEID()
-
BOOLEAN
public static final int BOOLEAN
BYTE
public static final int BYTE
SHORT
public static final int SHORT
INT
public static final int INT
LONG
public static final int LONG
TYPEID
public static final int TYPEID
Xdr
public Xdr(int len)
Xdr
public Xdr(byte buf[])
Xdr
public Xdr(byte buf[],
int offset)
Xdr
public Xdr(byte buf[],
int offset,
int len) throws IndexOutOfBoundsException
Xdr
public Xdr(ByteArray buf,
int offset)
Xdr
public Xdr(ByteArray buf,
int offset,
int len) throws IndexOutOfBoundsException
STRING
public static final int STRING(String x)
BYTEARRAY
public static final int BYTEARRAY(ByteArray x)
length
public final int length()
PUT
public final void PUT(boolean x)
PUT
public final void PUT(byte x)
PUT
public final void PUT(short x)
PUT
public final void PUT(int x)
PUT
public final void PUT(long x)
PUT
public final void PUT(TypeID t)
PUT
public final void PUT(String x)
PUT
public final void PUT(ByteArray x)
PUT
public final void PUT(byte x[],
int start,
int length)
BOOLEAN
public final boolean BOOLEAN()
BYTE
public final byte BYTE()
SHORT
public final short SHORT()
INT
public final int INT()
LONG
public final long LONG()
TYPEID
public final TypeID TYPEID()
STRING
public final String STRING()
BYTEARRAY
public final ByteArray BYTEARRAY()
BYTES
public final void BYTES(byte x[],
int start,
int length)
skip
public final void skip(int count)
All Packages Class Hierarchy This Package Previous Next Index