Name
ByteChannel
Synopsis
This interface extends
ReadableByteChannel
and
WritableByteChannel
but adds no methods or
constants of its own. It exists simply as a convience that to unify
the two interfaces.
Figure 13-15. java.nio.channels.ByteChannel
public interface ByteChannel extends ReadableByteChannelWritableByteChannel {
}
Implementations
DatagramChannel
, FileChannel
,
SocketChannel
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.