rodecomp/Source/Utility/GroupedInteger.h
2026-10-24 00:35:19 +00:00

13 lines
484 B
C++

#ifndef RAGNAROK_SOURCE_UTILITY_GROUPEDINTEGER_H
#define RAGNAROK_SOURCE_UTILITY_GROUPEDINTEGER_H
#include <cstdint>
// Original formatting preserves its trailing-character truncation policy.
// output must have capacity bytes; nonpositive capacity leaves it untouched.
char* FormatGroupedInteger(int value, char* output, int capacity);
char* FormatGroupedInteger(std::int64_t value, char* output, int capacity);
const char* ReverseFindChar(const char* text, char target);
#endif