using DotNetty.Buffers; using DotNetty.Codecs; using DotNetty.Transport.Channels; using HybirdFrameworkServices.Charger.Msg.Charger.Req; namespace HybirdFrameworkServices.Charger.Codec; public class Decoder : ByteToMessageDecoder { protected override void Decode(IChannelHandlerContext context, IByteBuffer input, List output) { output.Add(new Login()); } }