@NonNullApi @NonNullFields

# Package org.springframework.core.codec

`Encoder` and `Decoder` abstractions to convert between a reactive stream of bytes and Java objects.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  Decoder<T> | Strategy for decoding a `DataBuffer` input stream into an output stream of elements of type `<T>`.
  Encoder<T> | Strategy to encode a stream of Objects of type `<T>` into an output stream of bytes.

- Class Summary
  Class | Description
  --- | ---
  AbstractDataBufferDecoder<T> | Abstract base class for `Decoder` implementations that can decode a `DataBuffer` directly to the target element type.
  AbstractDecoder<T> | Abstract base class for `Decoder` implementations.
  AbstractEncoder<T> | Abstract base class for `Encoder` implementations.
  AbstractSingleValueEncoder<T> | Abstract base class for `Encoder` classes that can only deal with a single value.
  ByteArrayDecoder | Decoder for `byte` arrays.
  ByteArrayEncoder | Encoder for `byte` arrays.
  ByteBufferDecoder | Decoder for `ByteBuffers`.
  ByteBufferEncoder | Encoder for `ByteBuffers`.
  CharSequenceEncoder | Encode from a `CharSequence` stream to a bytes stream.
  DataBufferDecoder | Simple pass-through decoder for `DataBuffers`.
  DataBufferEncoder | Simple pass-through encoder for `DataBuffers`.
  Hints | Constants and convenience methods for working with hints.
  NettyByteBufDecoder | Decoder for `ByteBufs`.
  NettyByteBufEncoder | Encoder for `ByteBufs`.
  ResourceDecoder | Decoder for `Resources`.
  ResourceEncoder | Encoder for `Resources`.
  ResourceRegionEncoder | Encoder for `ResourceRegions`.
  StringDecoder | Decode from a data buffer stream to a `String` stream, either splitting or aggregating incoming data chunks to realign along newlines delimiters and produce a stream of strings.

- Exception Summary
  Exception | Description
  --- | ---
  CodecException | General error that indicates a problem while encoding and decoding to and from an Object stream.
  DecodingException | Indicates an issue with decoding the input stream with a focus on content related issues such as a parse failure.
  EncodingException | Indicates an issue with encoding the input Object stream with a focus on not being able to encode Objects.

## Package org.springframework.core.codec Description

`Encoder` and `Decoder` abstractions to convert between a reactive stream of bytes and Java objects.