Update the generator to store field offsets and ranges within the generated accessor structs, avoiding repeated buffer scans.