|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LazyObject
LazyObject stores an object in a range of bytes in a byte[]. A LazyObject can represent any primitive object or hierarchical object like array, map or struct.
Method Summary | |
---|---|
Object |
getObject()
If the LazyObject is a primitive Object, then deserialize it and return the actual primitive Object. |
void |
init(ByteArrayRef bytes,
int start,
int length)
Set the data for this LazyObject. |
Method Detail |
---|
void init(ByteArrayRef bytes, int start, int length)
bytes
- The wrapper of the byte[].start
- The start position inside the bytes.length
- The length of the data, starting from "start"ByteArrayRef
Object getObject()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |