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

Method encode

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

Source from the content-addressed store, hash-verified

117 encodeDimension(w, float32(v), 0)
118}
119func (v valFloatDp) encode(w binary.Writer) {
120 writeTypedValueHeader(w, typeDimension)
121 encodeDimension(w, float32(v), 1)
122}
123func (v valFloatSp) encode(w binary.Writer) {
124 writeTypedValueHeader(w, typeDimension)
125 encodeDimension(w, float32(v), 2)

Callers

nothing calls this directly

Calls 2

writeTypedValueHeaderFunction · 0.85
encodeDimensionFunction · 0.85

Tested by

no test coverage detected