Returns the number of characters that would be produced by if the formatted output were produced not including the Null-terminator. If FormatString is not aligned on a 16-bit boundary, then ASSERT(). If FormatString is NULL, then ASSERT() and 0 is returned. If PcdMaximumUnicodeStringLength is not zero, and FormatString contains more than PcdMaximumUnicodeStringLength Unicode cha
| 919 | Null-terminator. |
| 920 | **/ |
| 921 | UINTN |
| 922 | EFIAPI |
| 923 | SPrintLength ( |
| 924 | IN CONST CHAR16 *FormatString, |
| 925 | IN VA_LIST Marker |
| 926 | ) |
| 927 | { |
| 928 | ASSERT_UNICODE_BUFFER (FormatString); |
| 929 | return BasePrintLibSPrintMarker (NULL, 0, FORMAT_UNICODE | OUTPUT_UNICODE | COUNT_ONLY_NO_PRINT, (CHAR8 *)FormatString, Marker, NULL); |
| 930 | } |
| 931 | |
| 932 | /** |
| 933 | Returns the number of characters that would be produced by if the formatted |
no test coverage detected