/* If String is not aligned on a 16-bit boundary, then ASSERT(). */
UINTN EFIAPI StrnSizeS(IN CONST CHAR16 *String, IN UINTN MaxSize)
/* If String is not aligned on a 16-bit boundary, then ASSERT(). */
UINTN EFIAPI StrnSizeS(IN CONST CHAR16 *String, IN UINTN MaxSize)
{
  if (String == NULL) {
    return 0;
  }
  return (StrnLenS (String, MaxSize) + 1) * sizeof (*String);
}