Searched refs:writePos (Results 1 – 2 of 2) sorted by relevance
506 public void rewindWriteTo(int writePos) {507 if (writePos > getWritePos()) {508 throw new RuntimeException("rewindWriteTo only can go backwards" + writePos);510 mWriteBufIndex = writePos / mChunkSize;511 mWriteIndex = writePos % mChunkSize;
84 auto writePos = static_cast<uint8_t*>(heap->getBase()); in decode() local144 memcpy(writePos, buf + info.offset, dataSize); in decode()145 writePos += dataSize; in decode()