mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
30 lines
568 B
C++
30 lines
568 B
C++
// -*- C++ -*-
|
|
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
|
|
|
|
// Accessor to the number of bytes in the buffer.
|
|
|
|
ACE_INLINE size_t
|
|
ACE_Read_Buffer::size (void) const
|
|
{
|
|
ACE_TRACE ("ACE_Read_Buffer::size");
|
|
return this->size_;
|
|
}
|
|
|
|
// The total number of characters replaced.
|
|
|
|
ACE_INLINE size_t
|
|
ACE_Read_Buffer::replaced (void) const
|
|
{
|
|
ACE_TRACE ("ACE_Read_Buffer::replaced");
|
|
return this->occurrences_;
|
|
}
|
|
|
|
ACE_INLINE ACE_Allocator *
|
|
ACE_Read_Buffer::alloc (void) const
|
|
{
|
|
ACE_TRACE ("ACE_Read_Buffer::alloc");
|
|
return this->allocator_;
|
|
}
|
|
|
|
ACE_END_VERSIONED_NAMESPACE_DECL
|