public interface Buffer
Modifier and Type | Method and Description |
---|---|
InputStream |
getInputStream() |
int |
getLength() |
int |
getOffset() |
OutputStream |
getOutputStream() |
void |
readComplete(boolean success)
Top-level reader MUST call this to close the input stream.
|
void |
writeComplete(boolean success)
Writer MUST call this when done.
|
InputStream getInputStream() throws IOException
IOException
OutputStream getOutputStream() throws IOException
IOException
void readComplete(boolean success)
void writeComplete(boolean success)
success
- if false, deletes any resourcesint getLength()
int getOffset()