/* Copy Length of Src buffer to Dest buffer, add a NULL termination to Dest buffer. */
VOID MemToString(IN OUT VOID *Dest, IN VOID *Src, IN UINTN Length)
/* Copy Length of Src buffer to Dest buffer, add a NULL termination to Dest buffer. */
VOID MemToString(IN OUT VOID *Dest, IN VOID *Src, IN UINTN Length)
{
  UINT8  *SrcBuffer;
  UINT8  *DestBuffer;
  SrcBuffer  = (UINT8 *)Src;
  DestBuffer = (UINT8 *)Dest;
  while ((Length--) != 0) {
    *DestBuffer++ = *SrcBuffer++;
  }
  *DestBuffer = '\0';
}