diff options
author | Richard Linden <none@none> | 2013-04-12 16:35:14 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2013-04-12 16:35:14 -0700 |
commit | dc261cbe4c7b1de8943f00218d62ab6180e7cfad (patch) | |
tree | e52a2ab6c7545ef90a7bd1dcca97adbfb0671d42 /indra/llmessage | |
parent | 08b061dc1d9bfef8fc36ac25f260b291adda6d8c (diff) | |
parent | 06a953f7fece6e7c5cb8f9facd246580767f8591 (diff) |
Automated merge with ssh://hg.lindenlab.com/richard/viewer-interesting-metrics
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) { |