public interface Readable
CharBuffer.| Modifier and Type | Method and Description |
|---|---|
int |
read(CharBuffer cb)
Reads characters into the specified
CharBuffer. |
int read(CharBuffer cb) throws IOException
CharBuffer. The maximum
number of characters read is CharBuffer.remaining().cb - the buffer to be filled with characters read.Readable reaches its endIOException - if an I/O error occurs.