Skip to content

Commit

Permalink
Introduce ByteToMessageDecoderForBuffer (netty#11654)
Browse files Browse the repository at this point in the history
__Motivation__

In order to migrate all codec incrementally to use `Buffer`, we need a version of `ByteToMessageDecoder` that uses `Buffer`.

__Modification__

- Added the new version of `ByteToMessageDecoder` with a new name so that both old and new version can co-exist and we can incrementally migrate all codecs
- Migrated `FixedLengthFrameDecoder` as it was simple and used in tests.

__Result__

We have the basic building block to start migrating all codecs to the new `Buffer` API.
  • Loading branch information
Nitesh Kant committed Sep 15, 2021
1 parent a76842d commit 29cae04
Show file tree
Hide file tree
Showing 5 changed files with 1,367 additions and 13 deletions.
Loading

0 comments on commit 29cae04

Please sign in to comment.