waylau
Essential Netty in Action 《Netty 实战(精髓)》

Updated 8 months ago

杨保杰 (@yangbaojie) started discussion #34

2 years ago · 0 comments

Open

ReplayingDecoder 是 byte-to-message 解码的一种特殊的抽象基类,读取缓冲区的数据之前需要检查缓冲区是否有足够的字节,使用ReplayingDecoder就无需自己检查;若ByteBuf中有足够的字节,则会正常读取;若没有足够的字节则会停止解码。

Decoder(解码器) (Edit this file)

设置字节长度?

No description provided.

No comments on this discussion.


to join this conversation on GitBook. Already have an account? Sign in to comment
Notifications

You’re not receiving notifications from this thread.


1 participant