| 149 | } |
| 150 | |
| 151 | void ChunkedDataBuffer::SetReadPos(int pos) |
| 152 | { |
| 153 | mReadPoolIdx = pos / ALLOC_SIZE; |
| 154 | mReadCurAlloc = mPools[mReadPoolIdx]; |
| 155 | mReadCurPtr = mReadCurAlloc + pos % ALLOC_SIZE; |
| 156 | mReadNextAlloc = mReadCurPtr + ALLOC_SIZE; |
| 157 | } |
| 158 | |
| 159 | void ChunkedDataBuffer::NextReadPool() |
| 160 | { |
no outgoing calls
no test coverage detected