| 接口 | 说明 |
|---|---|
| ByteBuf |
readMark <= readIndex <= writerMark <= writerIndex <= capacity
|
| ByteBufAllocator |
Implementations are responsible to allocate buffers.
|
| 类 | 说明 |
|---|---|
| AbstractByteBuf |
readMark <= readIndex <= writerMark <= writerIndex <= capacity
|
| AbstractByteBufAllocator |
readMark <= readIndex <= writerMark <= writerIndex <= capacity
|
| ArrayByteBuf |
基于 字节数组的 ByteBuf 接口实现。
|
| ByteBufAdapter |
readMark <= readIndex <= writerMark <= writerIndex <= capacity
|
| ByteBufInputStream |
An
InputStream which reads data from a ByteBuf. |
| ByteBufOutputStream |
An
OutputStream which writes data to a ByteBuf. |
| ByteBufUtil | |
| Cleaner |
Allows to free direct
ByteBuffers. |
| DirectByteBufAllocator |
基于 堆外内存的 ByteBuf 接口实现。
|
| HeapByteBufAllocator |
基于 堆内存的 ByteBuf 接口实现。
|
| PooledDirectByteBufAllocator |
ByteBufAllocator 接口实现用于创建池化的堆外 ByteBuf
|
| PooledHeapByteBufAllocator |
ByteBufAllocator 接口实现用于创建池化的堆 ByteBuf
|
| PooledNioByteBuf |
基于 NioChunk 池化的 ByteBuf 接口实现,提供了扩缩容零拷贝实现
|
| SliceNioByteBuf |
基于 NioChunk 的 ByteBuf 接口实现。
|
Copyright © 2022–2024. All rights reserved.