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

Method encode

core/os/android/binaryxml/xml_start_namespace.go:58–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56}
57
58func (c *xmlStartNamespace) encode() []byte {
59 return encodeChunk(resXMLStartNamespaceType, func(w binary.Writer) {
60 w.Uint32(c.lineNumber)
61 c.comment.encode(w)
62 }, func(w binary.Writer) {
63 c.namespacePrefix.encode(w)
64 c.namespaceURI.encode(w)
65 })
66}

Callers

nothing calls this directly

Calls 3

encodeChunkFunction · 0.85
Uint32Method · 0.65
encodeMethod · 0.65

Tested by

no test coverage detected