Files
SatyandClaude Opus 5.5 9c87d11233 Base: CDynamicString
Port CDynamicString (Mac 4.0.1 names; Grow and field names are best
guesses) and allow best-guess names in CODING_RULES.md. All functions
verified against the binary.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-24 05:01:59 +02:00

25 lines
572 B
C++

#ifndef ENGINE_SOURCE_BASE_DYNAMICSTRING_H
#define ENGINE_SOURCE_BASE_DYNAMICSTRING_H
#include <cstdint>
class CDynamicString {
public:
/* 0000 */ int32_t m_length;
/* 0004 */ int32_t m_capacity;
/* 0008 */ char* m_buffer;
CDynamicString();
~CDynamicString();
void Append(const char* src, int32_t count);
void Free();
void Grow();
void SetCapacity(int32_t capacity);
CDynamicString& operator=(const char* str);
void operator+=(const char* str);
void operator+=(char c);
void operator+=(int32_t value);
};
#endif