valeri/src/utf8.hpp

6 lines
141 B
C++

#pragma once
#include <cstddef>
size_t utf8_codepoint_size(char32_t codepoint);
char *utf8_write_codepoint(char *str, char32_t codepoint);