HF RL Explorer

Implement a TLV (Tag-Length-Value) binary record decoder that reads a binary file and outputs a JSON array…

Implement a TLV (Tag-Length-Value) binary record decoder that reads a binary file and outputs a JSON array…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Binary format specification: - Each record consists of: tag (varint) + length (varint) + value (exactly…

The task

**Binary format specification:** - Each record consists of: tag (varint) + length (varint) + value (exactly `length` bytes) - Records are concatenated sequentially with no padding or delimiters between them - The file ends after the last record's value bytes (no trailing marker)

Part of ai-and/termgrade-environments.