Skipping Bytes when reading with BinData
问题 So I have a Record like such: class Property < BinData::Record endian :little int32 :name_len string :name, read_length: :name_len # want to quit here. int32 :type_len string :type, read_length: :type_len end Is there a way for me to stop reading from the Record after it reads :name_len and :name, only if :name is equal to a certain value? Or is it the case that once you begin to read a file with a Record it must run all the way through? I know I can use :onlyif to skip all the remaining, but