Skip to main content

Practice · 2 of 2

The Hostile File

CHALLENGE
Difficulty: intermediate+25 XP

Implement kv_load with full validation: magic, version, exact length (short read → KV_ETRUNC), checksum before touching the table (mismatch → KV_EBADSUM). Load must RESET the destination store first.

Back to lesson: Practice: Persistence & the Hostile File