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

Method encode

core/os/android/binaryxml/value.go:103–106  ·  view source on GitHub ↗
(w binary.Writer)

Source from the content-addressed store, hash-verified

101 w.Uint32(uint32(v))
102}
103func (v valReference) encode(w binary.Writer) {
104 writeTypedValueHeader(w, typeReference)
105 w.Uint32(uint32(v))
106}
107func (v valStringID) encode(w binary.Writer) {
108 writeTypedValueHeader(w, typeString)
109 w.Uint32(stringPoolRef(v).stringPoolIndex())

Callers

nothing calls this directly

Calls 2

writeTypedValueHeaderFunction · 0.85
Uint32Method · 0.65

Tested by

no test coverage detected