func (c *ContainerMatcher) save(ls *persist.LoadSaver) { ls.SaveInts(c.startIndexes) ls.SaveTinyUInt(int(c.conType)) saveCTests(ls, c.nameCTest) ls.SaveInts(c.parts) c.priorities.Save(ls) ls.SaveString(c.extension) }
func (m Matcher) Save(ls *persist.LoadSaver) { ls.SaveTinyUInt(len(m)) for _, v := range m { v.save(ls) } }