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
IOExceptionint getLength()
int getOffset()
OutputStream getOutputStream() throws IOException
IOExceptionvoid readComplete(boolean success)
void writeComplete(boolean success)
success - if false, deletes any resources