|
Bees v0.5.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--bees.core.Xdr
An Xdr object wraps a system packet buffer for access by untrusted code. It also provides a number of utility functions for marshalling and unmarshalling data.
Field Summary | |
static int |
BOOLEAN
The length of a boolean in an xdr. |
static int |
BYTE
The length of a byte in an xdr. |
static int |
DOUBLE
The length of a double in an xdr. |
static int |
FLOAT
The length of a float in an xdr. |
static int |
INT
The length of a int in an xdr. |
static int |
LONG
The length of a long in an xdr. |
static int |
SHORT
The length of a short in an xdr. |
static int |
TYPEID
The length of a typeid in an xdr. |
Method Summary | |
boolean |
BOOLEAN()
|
byte |
BYTE()
|
XdrByteArray |
BYTEARRAY()
|
static int |
BYTEARRAY(ByteArray x)
|
static int |
BYTES(byte[] x)
|
void |
BYTES(byte[] buffer,
int offset,
int length)
|
byte[] |
BYTES(int length)
|
double |
DOUBLE()
|
float |
FLOAT()
|
int |
getLength()
|
int |
getReadCursor()
|
int |
getUnreadLength()
|
int |
INT()
|
int |
LEINT()
|
long |
LELONG()
|
short |
LESHORT()
|
long |
LONG()
|
void |
PUT(boolean x)
|
void |
PUT(byte x)
|
void |
PUT(byte[] x)
|
void |
PUT(byte[] x,
int offset,
int length)
|
void |
PUT(ByteArray x)
|
void |
PUT(double x)
|
void |
PUT(float x)
|
void |
PUT(int x)
|
void |
PUT(long x)
|
void |
PUT(short x)
|
void |
PUT(java.lang.String x)
|
void |
PUT(TypeID x)
|
void |
PUTLE(int x)
|
void |
PUTLE(long x)
|
void |
PUTLE(short x)
|
short |
SHORT()
|
void |
SKIP(int len)
|
java.lang.String |
STRING()
|
static int |
STRING(java.lang.String x)
|
Xdr |
subXDR()
|
java.lang.String |
toString()
|
TypeID |
TYPEID()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int BOOLEAN
public static final int BYTE
public static final int SHORT
public static final int INT
public static final int FLOAT
public static final int DOUBLE
public static final int LONG
public static final int TYPEID
Method Detail |
public int getUnreadLength()
public static final int STRING(java.lang.String x)
public static final int BYTES(byte[] x)
public static final int BYTEARRAY(ByteArray x)
public final int getReadCursor()
public final int getLength()
public final void SKIP(int len)
public final void PUT(boolean x)
public final void PUT(byte x)
public final void PUT(short x)
public final void PUT(int x)
public final void PUTLE(short x)
public final void PUTLE(int x)
public final void PUT(float x)
public final void PUT(double x)
public final void PUT(long x)
public final void PUTLE(long x)
public final void PUT(byte[] x)
public final void PUT(byte[] x, int offset, int length)
public final void PUT(ByteArray x)
public final void PUT(java.lang.String x)
public final void PUT(TypeID x)
public final boolean BOOLEAN()
public final byte BYTE()
public final short SHORT()
public final int INT()
public final short LESHORT()
public final int LEINT()
public final float FLOAT()
public final double DOUBLE()
public final long LONG()
public final long LELONG()
public final byte[] BYTES(int length)
public final void BYTES(byte[] buffer, int offset, int length)
public final XdrByteArray BYTEARRAY()
public final java.lang.String STRING()
public final TypeID TYPEID()
public final Xdr subXDR()
public java.lang.String toString()
toString
in class java.lang.Object
|
Bees v0.5.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |