You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
358 B
14 lines
358 B
using DotNetty.Buffers;
|
|
using DotNetty.Codecs;
|
|
using DotNetty.Transport.Channels;
|
|
using Service.Charger.Msg.Charger.Req;
|
|
|
|
namespace Service.Charger.Codec;
|
|
|
|
public class Decoder : ByteToMessageDecoder
|
|
{
|
|
protected override void Decode(IChannelHandlerContext context, IByteBuffer input, List<object> output)
|
|
{
|
|
output.Add(new Login());
|
|
}
|
|
} |