LeviLamina
Loading...
Searching...
No Matches
StringConversions.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace Core {
6
8public:
9 // static functions
10 // NOLINTBEGIN
11 MCNAPI static ::std::string toUtf8(wchar_t const* src, int srcLen);
12
13 MCNAPI static int toUtf8(wchar_t const* src, int srcLen, char* dest, int max);
14
15 MCNAPI static ::std::wstring toWide(char const* src, int srcLen);
16
17 MCNAPI static int toWide(char const* src, int srcLen, wchar_t* dest, int max);
18 // NOLINTEND
19};
20
21} // namespace Core
Definition StringConversions.h:7
static MCAPI ::std::string toUtf8(wchar_t const *src, int srcLen)
static MCAPI int toUtf8(wchar_t const *src, int srcLen, char *dest, int max)
static MCAPI ::std::wstring toWide(char const *src, int srcLen)
static MCAPI int toWide(char const *src, int srcLen, wchar_t *dest, int max)