This commit is contained in:
Guoqs
2024-11-26 15:19:35 +08:00
parent c424069175
commit 5e0bc18390

View File

@@ -17,6 +17,7 @@ public class StartAndLengthFieldFrameDecoder extends ByteToMessageDecoder {
// 构造函数,初始化起始标志
public StartAndLengthFieldFrameDecoder() {}
@Override
protected void decode(ChannelHandlerContext ctx, ByteBuf buffer, List<Object> out) throws Exception {
// log.info("StartAndLengthFieldFrameDecoder.decode");
// 记录包头开始的index