TianoCore EDK2 master
Loading...
Searching...
No Matches
BaseUcs2Utf8Lib.h
Go to the documentation of this file.
1
11#ifndef BASE_UCS2UTF8_LIB_H_
12#define BASE_UCS2UTF8_LIB_H_
13
17#define UNICODE_FORMAT_LEN 6
18#define UNICODE_FORMAT_CHAR_LEN 2
19#define UNICODE_FORMAT_CHAR_SIZE 3
20
21#define UTF8_BUFFER_FOR_UCS2_MAX_SIZE 3
22
37 IN CHAR16 *Ucs2Str,
38 OUT CHAR8 **Utf8StrAddr
39 );
40
57 IN CHAR8 *Utf8Str,
58 OUT CHAR16 **Ucs2StrAddr
59 );
60
61#endif
EFI_STATUS UCS2StrToUTF8(IN CHAR16 *Ucs2Str, OUT CHAR8 **Utf8StrAddr)
EFI_STATUS UTF8StrToUCS2(IN CHAR8 *Utf8Str, OUT CHAR16 **Ucs2StrAddr)
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29