func (rs *ResourceSet) numDataEntries() int {
	var n int
	for _, te := range rs.Types {
		for _, re := range te.Resources {
			n += len(re.Data)
		}
	}
	return n
}
// numDataEntries returns the number of resource data entries to be written into the rsrc section.
numDataEntries returns the number of resource data entries to be written into the rsrc section.
// numDataEntries returns the number of resource data entries to be written into the rsrc section .
func (rs *ResourceSet) numDataEntries() int {
	var n int
	for _, te := range rs.Types {
		for _, re := range te.Resources {
			n += len(re.Data)
		}
	}
	return n
}
func ( rs * ResourceSet ) numDataEntries ( ) int { var n int for _ , te := range rs . Types { for _ , re := range te . Resources { n += len ( re . Data ) } } return n }
numDataEntries returns the number of resource data entries to be written into the rsrc section.
numDataEntries returns the number of resource data entries to be written into the rsrc section .