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;
555 uint8_t* writePos = static_cast<uint8_t*>(heap->getBase()); in decode() local614 memcpy(writePos, buf + info.offset, dataSize); in decode()615 writePos += dataSize; in decode()