diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2013-02-28 22:49:05 -0700 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2013-02-28 22:49:05 -0700 |
commit | bd60fdbe44d9f996686d31cf48a3f2ca664dd301 (patch) | |
tree | 45ef35b52504e9b9788ba19725b38b10257a296c /indra/llmessage | |
parent | 8144fa95701122f24c36b8ae2a51a5ce720614a6 (diff) |
for SH-3824: interesting: Ensure viewer can handle object updates from entire region gracefully
Diffstat (limited to 'indra/llmessage')
-rw-r--r-- | indra/llmessage/lldatapacker.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llmessage/lldatapacker.h b/indra/llmessage/lldatapacker.h index b0a638c16e..226752d52e 100644 --- a/indra/llmessage/lldatapacker.h +++ b/indra/llmessage/lldatapacker.h @@ -170,6 +170,7 @@ public: S32 getBufferSize() const { return mBufferSize; } const U8* getBuffer() const { return mBufferp; } void reset() { mCurBufferp = mBufferp; mWriteEnabled = (mCurBufferp != NULL); } + void shift(S32 offset) { reset(); mCurBufferp += offset;} void freeBuffer() { delete [] mBufferp; mBufferp = mCurBufferp = NULL; mBufferSize = 0; mWriteEnabled = FALSE; } void assignBuffer(U8 *bufferp, S32 size) { |