public interface ReadableIntChannel extends Channel
| Modifier and Type | Method and Description |
|---|---|
int |
read()
Reads a single int from the channel, or throws EOFException if no data is
left.
|
default int |
read(IntBuffer buffer)
Reads into the given buffer.
|
int read() throws IOException
EOFException - If no data remains in the channelIOException - If some other IO error occurs.default int read(IntBuffer buffer) throws IOException
buffer - The buffer into which the data will be read.IOExceptionCopyright © 2022 LSST. All rights reserved.