# 程序包的使用
org.springframework.core.io.buffer

- 使用org.springframework.core.io.buffer的程序包
  程序包 | 说明
  --- | ---
  org.springframework.core.codec | `Encoder` and `Decoder` abstractions to convert between a reactive stream of bytes and Java objects.
  org.springframework.core.io.buffer | Generic abstraction for working with byte buffer implementations.

- org.springframework.core.codec使用的org.springframework.core.io.buffer中的类
  类和说明
  DataBuffer Basic abstraction over byte buffers.
  DataBufferFactory A factory for `DataBuffers`, allowing for allocation and wrapping of data buffers.

- org.springframework.core.io.buffer使用的org.springframework.core.io.buffer中的类
  类和说明
  DataBuffer Basic abstraction over byte buffers.
  DataBufferFactory A factory for `DataBuffers`, allowing for allocation and wrapping of data buffers.
  DefaultDataBuffer Default implementation of the `DataBuffer` interface that uses a `ByteBuffer` internally. with separate read and write positions.
  DefaultDataBufferFactory Default implementation of the `DataBufferFactory` interface.
  NettyDataBuffer Implementation of the `DataBuffer` interface that wraps a Netty `ByteBuf`.
  NettyDataBufferFactory Implementation of the `DataBufferFactory` interface based on a Netty `ByteBufAllocator`.
  PooledDataBuffer Extension of `DataBuffer` that allows for buffer that share a memory pool.