Example #1
0
 public static void PushReceivedMessage(IRemote remote, byte[] data, int len, int offset)
 {
     if (!remote.Connected)
     {
         return;
     }
     remote.PushBegin(receivedBuffer.Length + len);
     remote.PushMore(receivedBuffer, receivedBuffer.Length, 0);
     remote.PushMore(data, len, offset);
 }
Example #2
0
 public static void PushReceivedMessage(IRemote remote, byte[] data, int len, int offset)
 {
     if (!remote.Connected)
     {
         return;
     }
     remote.PushBegin(receivedBuffer.Length + len);
     remote.PushMore(receivedBuffer, receivedBuffer.Length, 0);
     remote.PushMore(data, len, offset);
 }