func (rs *ResourceSet) Walk(f func(typeID, resID Identifier, langID uint16, data []byte) bool) {
	s := &state{}
	rs.order(s)
	for _, tk := range s.orderedKeys {
		te := rs.Types[tk]
		for _, rk := range te.OrderedKeys {
			re := te.Resources[rk]
			for _, dk := range re.OrderedKeys {
				if !f(tk, rk, uint16(dk), re.Data[dk].Data) {
					return
				}
			}
		}
	}
}
// Walk walks through the resources in same order as they will be written.
//
// It takes a callback function that takes same parameters as Set and returns a bool that should be true to continue, false to stop.
//
// If you modify the set during a call to Walk, behaviour is undefined.
Walk walks through the resources in same order as they will be written.

It takes a callback function that takes same parameters as Set and returns a bool that should be true to continue, false to stop.

If you modify the set during a call to Walk, behaviour is undefined.
// Walk walks through the resources in same order as they will be written . // // It takes a callback function that takes same parameters as Set and returns a bool that should be true to continue false to stop . // // If you modify the set during a call to Walk behaviour is undefined .
func (rs *ResourceSet) Walk(f func(typeID, resID Identifier, langID uint16, data []byte) bool) {
	s := &state{}
	rs.order(s)
	for _, tk := range s.orderedKeys {
		te := rs.Types[tk]
		for _, rk := range te.OrderedKeys {
			re := te.Resources[rk]
			for _, dk := range re.OrderedKeys {
				if !f(tk, rk, uint16(dk), re.Data[dk].Data) {
					return
				}
			}
		}
	}
}
func ( rs * ResourceSet ) Walk ( f func ( typeID , resID Identifier , langID uint16 , data [ ] byte ) bool ) { s := & state { } rs . order ( s ) for _ , tk := range s . orderedKeys { te := rs . Types [ tk ] for _ , rk := range te . OrderedKeys { re := te . Resources [ rk ] for _ , dk := range re . OrderedKeys { if ! f ( tk , rk , uint16 ( dk ) , re . Data [ dk ] . Data ) { return } } } } }
Walk walks through the resources in same order as they will be written.
Walk walks through the resources in same order as they will be written .