HF RL Explorer

Implement a command-line tool tlv decoder that reads a binary file in a custom TLV (Tag-Length-Value) format…

Implement a command-line tool tlv decoder that reads a binary file in a custom TLV (Tag-Length-Value) format…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input format (binary file): - The file starts with a 4-byte big-endian record count N (uint32). - This is…

The task

**Input format (binary file):** - The file starts with a 4-byte big-endian record count `N` (uint32). - This is followed by `N` records. Each record consists of: - 1 byte: tag (uint8). Tags 0x00-0xFE represent keys to include. Tag 0xFF signals a special 'escape' record (see below). - A varint-encoded value length…

Part of ai-and/termgrade-environments.