OpenJDK 1.22
java.base
java.nio.channels
ByteChannel
Top
Description
Methods
java.nio.channels
public
Interface ByteChannel
extends
ReadableByteChannel
,
WritableByteChannel
Known Direct Subinterfaces
java.
nio.
channels.
SeekableByteChannel
Known Direct Implementers
java.
nio.
channels.
DatagramChannel
,
java.
nio.
channels.
SocketChannel
Imports
java.
io.
IOException
A channel that can read and write bytes. This interface simply unifies
ReadableByteChannel
and
WritableByteChannel
; it does not specify any new operations.
Authors
Mark Reinhold, JSR-51 Expert Group
Since
1.4
Method Summary
Inherited from
java.nio.channels.ReadableByteChannel
:
read
Inherited from
java.nio.channels.WritableByteChannel
:
write