Esempio n. 1
0
 protected override Boolean DoDecode(IoSession session, IoBuffer input, IProtocolDecoderOutput output)
 {
     if (input.Remaining >= 4)
     {
         Message request = input.GetMessage();
         output.Write(request);
         return true;
     }
     else
     {
         return false;
     }
 }