Implement a command-line tool at /app/bin/tlv decoder that reads a binary file of TLV (Type-Length-Value)…
Implement a command-line tool at /app/bin/tlv decoder that reads a binary file of TLV (Type-Length-Value)…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input format: - A binary file consisting of a sequence of TLV records, back-to-back with no headers or…
The task
**Input format:** - A binary file consisting of a sequence of TLV records, back-to-back with no headers or framing beyond the records themselves. - Each record: `type` (1 byte, unsigned integer) | `length` (unsigned LEB128 varint) | `value` (exactly `length` bytes of raw data). - LEB128 is unsigned little-endian…
Part of ai-and/termgrade-environments.