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

Method encode

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

Source from the content-addressed store, hash-verified

109 w.Uint32(stringPoolRef(v).stringPoolIndex())
110}
111func (v valFloat) encode(w binary.Writer) {
112 writeTypedValueHeader(w, typeFloat)
113 w.Float32(float32(v))
114}
115func (v valFloatPx) encode(w binary.Writer) {
116 writeTypedValueHeader(w, typeDimension)
117 encodeDimension(w, float32(v), 0)

Callers

nothing calls this directly

Calls 2

writeTypedValueHeaderFunction · 0.85
Float32Method · 0.65

Tested by

no test coverage detected