/* Print worker function that converts a decimal or hexadecimal number to an ASCII string in Buffer. */
CHAR8* InternalPrintLibValueToString(IN OUT CHAR8 *Buffer, IN INT64 Value, IN UINTN Radix)
/* Print worker function that converts a decimal or hexadecimal number to an ASCII string in Buffer. */
CHAR8* InternalPrintLibValueToString(IN OUT CHAR8 *Buffer, IN INT64 Value, IN UINTN Radix)
{
  UINT32  Remainder;
  *Buffer = 0;
  do {
    Value       = (INT64)DivU64x32Remainder ((UINT64)Value, (UINT32)Radix, &Remainder);
    *(++Buffer) = mHexStr[Remainder];
  } while (Value != 0);
  return Buffer;
}