diff options
author | Richard Linden <none@none> | 2013-03-21 19:08:15 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2013-03-21 19:08:15 -0700 |
commit | 5525257b8580df3dbc9860370564e19c9d6cbbaa (patch) | |
tree | 5399513cec95ec11b1d607118c5096449a8ce8c1 /indra/llmessage/lldatapacker.h | |
parent | 368dd542bec7c31e14673b83d3342c35717d2920 (diff) | |
parent | 8d8a2d5681f2b18150e05d8f9f7d84ce233c9e26 (diff) |
Automated merge with ssh://hg.lindenlab.com/richard/viewer-interesting-metrics
Diffstat (limited to 'indra/llmessage/lldatapacker.h')
-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) { |