class BinData::Struct

def sum_num_bytes_for_all_fields

def sum_num_bytes_for_all_fields
  sum_num_bytes_below_index(@field_objs.length)
end