| 237 | } |
| 238 | |
| 239 | bool ByteQueue::operator==(const ByteQueue &rhs) const |
| 240 | { |
| 241 | const unsigned long currentSize = CurrentSize(); |
| 242 | |
| 243 | if (currentSize != rhs.CurrentSize()) |
| 244 | return false; |
| 245 | |
| 246 | for (unsigned long i = 0; i<currentSize; i++) |
| 247 | if ((*this)[i] != rhs[i]) |
| 248 | return false; |
| 249 | |
| 250 | return true; |
| 251 | } |
| 252 | |
| 253 | byte ByteQueue::operator[](unsigned long i) const |
| 254 | { |
nothing calls this directly
no test coverage detected