| 397 | } |
| 398 | |
| 399 | const byte * ByteQueue::Spy(size_t &contiguousSize) const |
| 400 | { |
| 401 | contiguousSize = m_head->m_tail - m_head->m_head; |
| 402 | if (contiguousSize == 0 && m_lazyLength > 0) |
| 403 | { |
| 404 | contiguousSize = m_lazyLength; |
| 405 | return m_lazyString; |
| 406 | } |
| 407 | else |
| 408 | return m_head->buf + m_head->m_head; |
| 409 | } |
| 410 | |
| 411 | byte * ByteQueue::CreatePutSpace(size_t &size) |
| 412 | { |
no outgoing calls
no test coverage detected