MCPcopy Create free account
hub / github.com/google/gapid / decode

Method decode

core/os/android/binaryxml/xml_resource_map.go:40–48  ·  view source on GitHub ↗
(header, data []byte)

Source from the content-addressed store, hash-verified

38}
39
40func (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
50func (xmlResourceMap) xml(*xmlContext) string { return "" }
51

Callers

nothing calls this directly

Calls 4

ReaderMethod · 0.65
NewReaderMethod · 0.65
Uint32Method · 0.65
ErrorMethod · 0.65

Tested by

no test coverage detected