bbox: replace s_pCurBufferPointer with locale buffer, so it can be read without read from the writeonly buffer