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

Method encode

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

Source from the content-addressed store, hash-verified

133 encodeDimension(w, float32(v), 4)
134}
135func (v valFloatMm) encode(w binary.Writer) {
136 writeTypedValueHeader(w, typeDimension)
137 encodeDimension(w, float32(v), 5)
138}
139func (v valIntBoolean) encode(w binary.Writer) {
140 writeTypedValueHeader(w, typeIntBoolean)
141 if bool(v) {

Callers

nothing calls this directly

Calls 2

writeTypedValueHeaderFunction · 0.85
encodeDimensionFunction · 0.85

Tested by

no test coverage detected