Ice 3.7 C++11 API Reference
Public Member Functions | List of all members
IceUtil::UTF8Buffer Class Referenceabstract

Provides bytes to toUTF8. More...

#include <Ice/Ice.h>

Public Member Functions

virtual BytegetMoreBytes (size_t howMany, Byte *firstUnused)=0
 Obtains more bytes. More...
 
virtual ~UTF8Buffer ()
 

Detailed Description

Provides bytes to toUTF8.

Can raise std::bad_alloc or Ice::MemoryLimitException when too many bytes are requested.

Constructor & Destructor Documentation

◆ ~UTF8Buffer()

virtual IceUtil::UTF8Buffer::~UTF8Buffer ( )
virtual

Member Function Documentation

◆ getMoreBytes()

virtual Byte* IceUtil::UTF8Buffer::getMoreBytes ( size_t  howMany,
Byte firstUnused 
)
pure virtual

Obtains more bytes.

Parameters
howManyThe number of bytes requested.
firstUnusedA pointer to the first unused byte.
Returns
A pointer to the beginning of the buffer.

The documentation for this class was generated from the following file: