public abstract class RawIOBase extends IOBase
DEFAULT_BUFFER_SIZE| Constructor and Description | 
|---|
| RawIOBase() | 
| Modifier and Type | Method and Description | 
|---|---|
| RawIOBase | fileno()Returns underlying file descriptor if one exists. | 
| abstract Channel | getChannel()Return the underlying Java nio Channel. | 
| ByteBuffer | read(int size)Read and return up to size bytes, contained in a ByteBuffer. | 
| ByteBuffer | readall()Read until EOF, using multiple read() calls. | 
| int | readinto(ByteBuffer buf)Read up to buf.remaining() bytes into buf. | 
| long | readinto(ByteBuffer[] bufs)Read bytes into each of the specified ByteBuffers. | 
| int | write(ByteBuffer buf)Write the given ByteBuffer to the IO stream. | 
| long | write(ByteBuffer[] bufs)Write the given ByteBuffers to the IO stream. | 
asInputStream, asOutputStream, checkClosed, checkReadable, checkWritable, close, closed, flush, isatty, readable, seek, seek, tell, truncate, writablepublic ByteBuffer read(int size)
size - the number of bytes to readpublic ByteBuffer readall()
public int readinto(ByteBuffer buf)
buf - a ByteBuffer to read bytes intopublic long readinto(ByteBuffer[] bufs)
bufs - an array of ByteBuffers to read bytes intopublic int write(ByteBuffer buf)
buf - a ByteBuffer valuepublic long write(ByteBuffer[] bufs)
bufs - an array of  ByteBufferspublic RawIOBase fileno()
IOBasepublic abstract Channel getChannel()