[英]Cumulative decoder/encoder
I have been using Apache MINA and am learning Netty. 我一直在使用Apache MINA,正在学习Netty。 I have used the MINA cumulative encoder/decoder in the past and I am interested to see if Netty has similar functionality.
我过去曾使用过MINA累积编码器/解码器,我很想知道Netty是否具有类似的功能。 I looked through the API and did not see anything.
我浏览了API,但没有看到任何内容。
I think you are looking for the FrameDecoder [1] or ReplayingDecoder [2]. 我认为您正在寻找FrameDecoder [1]或ReplayingDecoder [2]。
[1] http://netty.io/docs/stable/api/org/jboss/netty/handler/codec/frame/FrameDecoder.html [1] http://netty.io/docs/stable/api/org/jboss/netty/handler/codec/frame/FrameDecoder.html
[2] http://netty.io/docs/stable/api/org/jboss/netty/handler/codec/replay/ReplayingDecoder.html [2] http://netty.io/docs/stable/api/org/jboss/netty/handler/codec/replay/ReplayingDecoder.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.