模块 java.base

接口 ByteChannel

所有父级接口:
AutoCloseable , Channel , Closeable , ReadableByteChannel , WritableByteChannel
所有已知的子接口:
SeekableByteChannel
所有已知的实现类:
DatagramChannel , FileChannel , SocketChannel

public interface ByteChannel extends ReadableByteChannel , WritableByteChannel
可以读取和写入字节的通道。这个接口简单地统一了 ReadableByteChannel WritableByteChannel ;它没有指定任何新操作。
自从:
1.4