|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Generic interface for byte buffer / void conversion
Description:
Copyright: (c) 2002 JSESoft
Company: JSESoft
| Method Summary | |
void |
fromBytes()
Converts local variables from the local byte buffer. |
void |
fromBytes(java.nio.ByteBuffer buffer)
Converts local variables from the specified byte buffer. |
void |
fromBytes(java.nio.ByteBuffer buffer,
boolean refresh)
Converts local variables from the specified byte buffer. |
void |
setBuffer(java.nio.ByteBuffer buffer)
Set the local byte buffer. |
void |
setBuffer(java.nio.ByteBuffer buffer,
boolean refresh)
Set the local byte buffer. |
java.nio.ByteBuffer |
toBytes()
Converts local variables to (direct) byte buffer. |
java.nio.ByteBuffer |
toBytes(boolean direct)
Converts local variables to byte buffer. |
| Method Detail |
public void fromBytes()
toBytes()public void fromBytes(java.nio.ByteBuffer buffer)
buffer - the byte buffer containing all valuestoBytes()
public void fromBytes(java.nio.ByteBuffer buffer,
boolean refresh)
buffer - the byte buffer containing all valuesrefresh - whether to refresh to local byte buffertoBytes()public void setBuffer(java.nio.ByteBuffer buffer)
fromBytes()
public void setBuffer(java.nio.ByteBuffer buffer,
boolean refresh)
refresh - whether to refresh the local variablesfromBytes()public java.nio.ByteBuffer toBytes()
public java.nio.ByteBuffer toBytes(boolean direct)
direct - whether buffer should be created direct
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||