public interface Reader
Modifier and Type | Method and Description |
---|---|
int |
read(ByteBuffer content,
ByteChannel channel)
Reads bytes into the provided buffer.
|
int read(ByteBuffer content, ByteChannel channel) throws IOException
content
- the buffer which will hold the read content.channel
- the source channel where the content will be read from.IOException
- errors occur while reading.Copyright © 2018 WSO2. All rights reserved.