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

Method buildEncoderFuncs

gapil/compiler/plugins/encoder/encoder.go:133–141  ·  view source on GitHub ↗

buildEncoderFuncs generates the encode functions for all the API classes, command parameters, command calls and state.

()

Source from the content-addressed store, hash-verified

131// buildEncoderFuncs generates the encode functions for all the API classes,
132// command parameters, command calls and state.
133func (e *encoder) buildEncoderFuncs() {
134 e.buildClassEncodeToBufFuncs()
135 e.buildClassEncodeFuncs()
136
137 e.buildStateEncodeFunc()
138
139 e.buildCommandEncodeFuncs()
140 e.buildCommandCallEncodeFuncs()
141}
142
143// buildClassEncodeToBufFuncs builds the encode_to_buf() method for each API
144// class type.

Callers 1

BuildMethod · 0.95

Tested by

no test coverage detected