You.i Engine
YiStringCXUtilities.h
Go to the documentation of this file.
1 // © You i Labs Inc. 2000-2020. All rights reserved.
2 #if defined(__cplusplus_winrt) || defined(DOXY)
3 
4 # ifndef _YI_STRING_CX_UTILITIES_H_
5 # define _YI_STRING_CX_UTILITIES_H_
6 
7 # include "YiString.h"
8 
20 {
21 public:
25  static Platform::String ^ ToPlatformString(CYIStringView toConvert);
26 
30  static CYIString FromPlatformString(Platform::String ^ toConvert);
31 
35  static Windows::Storage::Streams::IBuffer ^ ToBuffer(CYIStringView toConvert);
36 
40  static CYIString FromBuffer(Windows::Storage::Streams::IBuffer ^ toConvert, Windows::Security::Cryptography::BinaryStringEncoding encoding = Windows::Security::Cryptography::BinaryStringEncoding::Utf8);
41 
42 private:
44 };
45 
48 # endif // _YI_STRING_CX_UTILITIES_H_
49 
50 #endif
static CYIString FromPlatformString(Platform::String ^ toConvert)
Container class for Unicode strings. Conceptually, a CYIString object is a sequence of Unicode charac...
Definition: YiString.h:36
static Windows::Storage::Streams::IBuffer ToBuffer(CYIStringView toConvert)
static Platform::String ToPlatformString(CYIStringView toConvert)
static CYIString FromBuffer(Windows::Storage::Streams::IBuffer ^ toConvert, Windows::Security::Cryptography::BinaryStringEncoding encoding=Windows::Security::Cryptography::BinaryStringEncoding::Utf8)
Definition: YiStringCXUtilities.h:19
A lightweight wrapper around a sequence of Unicode characters.
Definition: YiStringView.h:57