Files
rgbds/include/util.hpp
2024-02-29 13:44:08 -05:00

18 lines
334 B
C++

/* SPDX-License-Identifier: MIT */
#ifndef RGBDS_UTIL_H
#define RGBDS_UTIL_H
#include <stddef.h>
#include <stdint.h>
#include <vector>
char const *printChar(int c);
/*
* @return The number of bytes read, or 0 if invalid data was found
*/
size_t readUTF8Char(std::vector<uint8_t> *dest, char const *src);
#endif // RGBDS_UTIL_H