# 程序包的使用
org.springframework.core.codec

- 使用org.springframework.core.codec的程序包
  程序包 | 说明
  --- | ---
  org.springframework.core.codec | `Encoder` and `Decoder` abstractions to convert between a reactive stream of bytes and Java objects.

- org.springframework.core.codec使用的org.springframework.core.codec中的类
  类和说明
  AbstractDataBufferDecoder Abstract base class for `Decoder` implementations that can decode a `DataBuffer` directly to the target element type.
  AbstractDecoder Abstract base class for `Decoder` implementations.
  AbstractEncoder Abstract base class for `Decoder` implementations.
  AbstractSingleValueEncoder Abstract base class for `Encoder` classes that can only deal with a single value.
  CharSequenceEncoder Encode from a `CharSequence` stream to a bytes stream.
  CodecException General error that indicates a problem while encoding and decoding to and from an Object stream.
  Decoder Strategy for decoding a `DataBuffer` input stream into an output stream of elements of type `<T>`.
  Encoder Strategy to encode a stream of Objects of type `<T>` into an output stream of bytes.
  StringDecoder Decode from a data buffer stream to a `String` stream.