summaryrefslogtreecommitdiff
path: root/indra/llmessage
diff options
context:
space:
mode:
authorRichard Linden <none@none>2013-03-21 17:28:15 -0700
committerRichard Linden <none@none>2013-03-21 17:28:15 -0700
commit8d8a2d5681f2b18150e05d8f9f7d84ce233c9e26 (patch)
tree656ca390f7cab5e51e9545ef59c6f109455b5427 /indra/llmessage
parent1f507c3cfca0c7722ebeaf71883fbaa83988e1a9 (diff)
parentbbfb7b9ea1dc025d672968e39908b2327d14878a (diff)
Automated merge with ssh://hg.lindenlab.com/richard/viewer-interesting-metrics
Diffstat (limited to 'indra/llmessage')
-rw-r--r--indra/llmessage/lldatapacker.h1
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)
{