Ice 3.9
C++ API Reference
Loading...
Searching...
No Matches

◆ getMoreBytes()

virtual std::byte * Ice::UTF8Buffer::getMoreBytes ( size_t howMany,
std::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 start of the newly reserved space (the first unused byte).
Exceptions
std::bad_allocThrown when the buffer cannot be resized.