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

Method encode

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

Source from the content-addressed store, hash-verified

93}
94
95func (v valIntDec) encode(w binary.Writer) {
96 writeTypedValueHeader(w, typeIntDec)
97 w.Int32(int32(v))
98}
99func (v valIntHex) encode(w binary.Writer) {
100 writeTypedValueHeader(w, typeIntHex)
101 w.Uint32(uint32(v))

Callers

nothing calls this directly

Calls 2

writeTypedValueHeaderFunction · 0.85
Int32Method · 0.65

Tested by

no test coverage detected