|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Store
Represent a place where bytes are memorized. Used in streams that need to remember the data who was read.
RandomAccessInputStream| Method Summary | |
|---|---|
void |
cleanup()
Cleans up the Store. |
int |
get(byte[] bytes,
int offset,
int length)
gets length bytes from the store. |
void |
put(byte[] bytes,
int offset,
int length)
|
| Method Detail |
|---|
void cleanup()
int get(byte[] bytes,
int offset,
int length)
throws IOException
length bytes from the store.
bytes - array where to put the data in.offset - offset in the array to start put the data.length - length of the bytes got from the store.
IOException
void put(byte[] bytes,
int offset,
int length)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||