struct PersonData { name :: byte[] until "\0" inclusive; medals :: Medal[] until "STOP" exclusive or EOF; } enum Medal :: short{ 0: Diamond; 1: Gold; 2: Silver; 3: Bronze; 4: Paper; }