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

Method encode

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

Source from the content-addressed store, hash-verified

121 encodeDimension(w, float32(v), 1)
122}
123func (v valFloatSp) encode(w binary.Writer) {
124 writeTypedValueHeader(w, typeDimension)
125 encodeDimension(w, float32(v), 2)
126}
127func (v valFloatPt) encode(w binary.Writer) {
128 writeTypedValueHeader(w, typeDimension)
129 encodeDimension(w, float32(v), 3)

Callers

nothing calls this directly

Calls 2

writeTypedValueHeaderFunction · 0.85
encodeDimensionFunction · 0.85

Tested by

no test coverage detected