Example #1
0
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)
}
Example #2
0
func (m Matcher) Save(ls *persist.LoadSaver) {
	ls.SaveTinyUInt(len(m))
	for _, v := range m {
		v.save(ls)
	}
}