public Queue exQueue = new Queue();
cmdQueue.Enqueue(new object[3]{byte n1, byte[] data});
Later .....
object packet = cmdQueue.Dequeue();
Now I want to extract the n1 and data from the packet, but It does not seems that I have any luck with that. Any suggestions ?
cmdQueue.Enqueue(new object[3]{byte n1, byte[] data});
Later .....
object packet = cmdQueue.Dequeue();
Now I want to extract the n1 and data from the packet, but It does not seems that I have any luck with that. Any suggestions ?