aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmessage/llbuffer.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:34 -0500
committerJacek Antonelli2008-08-15 23:45:34 -0500
commitcd17687f01420952712a500107e0f93e7ab8d5f8 (patch)
treece48c2b706f2c1176290e39fb555fbdf6648ce01 /linden/indra/llmessage/llbuffer.h
parentSecond Life viewer sources 1.19.0.5 (diff)
downloadmeta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.zip
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.gz
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.bz2
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.xz
Second Life viewer sources 1.19.1.0
Diffstat (limited to '')
-rw-r--r--linden/indra/llmessage/llbuffer.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/linden/indra/llmessage/llbuffer.h b/linden/indra/llmessage/llbuffer.h
index 4089a55..34d05ae 100644
--- a/linden/indra/llmessage/llbuffer.h
+++ b/linden/indra/llmessage/llbuffer.h
@@ -411,6 +411,18 @@ public:
411 S32 countAfter(S32 channel, U8* start) const; 411 S32 countAfter(S32 channel, U8* start) const;
412 412
413 /** 413 /**
414 * @brief Count all bytes on channel.
415 *
416 * Helper method which just calls countAfter().
417 * @param channel The channel to count.
418 * @return Returns the number of bytes in the channel.
419 */
420 S32 count(S32 channel) const
421 {
422 return countAfter(channel, NULL);
423 }
424
425 /**
414 * @brief Read bytes in the buffer array on the specified channel 426 * @brief Read bytes in the buffer array on the specified channel
415 * 427 *
416 * You should prefer iterating over segments is possible since 428 * You should prefer iterating over segments is possible since