|
| char * | skip (int n) |
| | leave room for some stuff later More...
|
| |
| int | len () const |
| |
| int | getSize () const |
| |
|
void | reserveBytes (int bytes) |
| | Reserve room for some number of bytes to be claimed at a later time.
|
| |
| void | claimReservedBytes (int bytes) |
| | Claim an earlier reservation of some number of bytes. More...
|
| |
template<class Allocator>
Claim an earlier reservation of some number of bytes.
These bytes must already have been reserved. Appends of up to this many bytes immediately following a claim are guaranteed to succeed without a need to reallocate.
template<class Allocator>
- Returns
- size of the buffer
template<class Allocator>
- Returns
- length of current string
template<class Allocator>
leave room for some stuff later
- Returns
- point to region that was skipped. pointer may change later (on realloc), so for immediate use only
The documentation for this class was generated from the following file: