(header, data []byte)
| 38 | } |
| 39 | |
| 40 | func (c *xmlResourceMap) decode(header, data []byte) error { |
| 41 | r := endian.Reader(bytes.NewReader(data), device.LittleEndian) |
| 42 | id := r.Uint32() |
| 43 | for r.Error() == nil { |
| 44 | c.ids = append(c.ids, id) |
| 45 | id = r.Uint32() |
| 46 | } |
| 47 | return nil |
| 48 | } |
| 49 | |
| 50 | func (xmlResourceMap) xml(*xmlContext) string { return "" } |
| 51 |