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); }