/* This function returns the size of the Null-terminated Ascii string specified by String in bytes, including the Null terminator. */
UINTN EFIAPI AsciiStrnSizeS(IN CONST CHAR8 *String, IN UINTN MaxSize)
/* This function returns the size of the Null-terminated Ascii string specified by String in bytes, including the Null terminator. */
UINTN EFIAPI AsciiStrnSizeS(IN CONST CHAR8 *String, IN UINTN MaxSize)
{
  if (String == NULL) {
    return 0;
  }
  return (AsciiStrnLenS (String, MaxSize) + 1) * sizeof (*String);
}