Esempio n. 1
0
 private void ReceiveDataHandle()
 {
     byte[] data = LengthEncoding.LengthDecode(ref readBuffer);
     if (data == null)
     {
         isReading = false;
         return;
     }
     listener.OnReceive(this, data, data.Length);
     ReceiveDataHandle();
 }