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(::std::string_view src);
16
17 MCNAPI static ::std::wstring toWide(char const* src, int srcLen);
18
19 MCNAPI static int toWide(char const* src, int srcLen, wchar_t* dest, int max);
20 // NOLINTEND
21};
22
23} // 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(::std::string_view src)
static MCAPI ::std::wstring toWide(char const *src, int srcLen)
static MCAPI int toWide(char const *src, int srcLen, wchar_t *dest, int max)