|
Copyright 2013-01-06 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface BinaryModel
Model for untyped binary data.
| Method Summary | |
|---|---|
void |
close()
Closes the model and disposes all resources. |
int |
getBytes(long off,
int len,
byte[] target)
Gets a sequence of bytes and copies them into the supplied byte array. |
long |
getLength()
Returns the total length of the binary data. |
| Method Detail |
|---|
long getLength()
int getBytes(long off,
int len,
byte[] target)
off - the starting offset >= 0len - the number of bytes >= 0 && <= size - offsettarget - the target array to copy into
java.lang.ArrayIndexOutOfBoundsException - Thrown if the area covered by
the arguments is not contained in the model.void close()
|
Copyright 2013-01-06 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||