//----------------------------------------------------------------------------// String& String::Append(const char* _str, int _length, bool _quantize) { _length = _Length(_str, _length); if (_length) { _Realloc(_length + m_buffer->length, _quantize); memcpy(m_buffer->str + m_buffer->length, _str, _length); m_buffer->length += _length; m_buffer->str[m_buffer->length] = 0; } return *this; }
size_t Length() { return _Length(_head); }