libcsdbg  1.28
C++ exception (and generic) stack trace debug library
u32 csdbg::string::available ( ) const
inlinevirtual

Get the available buffer size, the number of characters that can be appended without reallocation.

Returns
this->m_size - (this->m_length + 1)

Definition at line 360 of file string.cpp.

References m_length, and m_size.

361 {
362  return m_size - m_length - 1;
363 }
u32 m_size
Buffer size.
Definition: string.hpp:46
u32 m_length
Character count.
Definition: string.hpp:44