struct Checkpoint
{ ... };
uint32_t copy_pos
uint32_t lz77_window[512]
uint32_t num_decoded
uint32_t num_to_copy
uint32_t state