/* Looks up and prints the string corresponding to the index. */
STATIC VOID EFIAPI FormatByte(IN CONST CHAR16 *Table[], IN UINT8 Index, IN UINT8 NumEntries)
/* Looks up and prints the string corresponding to the index. */
STATIC VOID EFIAPI FormatByte(IN CONST CHAR16 *Table[], IN UINT8 Index, IN UINT8 NumEntries)
{
  CONST CHAR16  *String;
  if (Index < NumEntries) {
    String = Table[Index];
  } else {
    String = L"**INVALID**";
  }
  Print (
    L"0x%02x (%s)",
    Index,
    String
    );
}