public int Receive(byte[] buffer, int offset, int size) { var data = _receivedData.Dequeue(); return data.Read(buffer, offset, size); }