MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / set

Method set

projects/JavaScript/proto/enums.js:5238–5246  ·  view source on GitHub ↗

* Set the struct value * @this {!FieldModelEnums} * @param {!Enums} fbeValue Enums value

(fbeValue)

Source from the content-addressed store, hash-verified

5236 * @param {!Enums} fbeValue Enums value
5237 */
5238 set (fbeValue) {
5239 let fbeBegin = this.setBegin()
5240 if (fbeBegin === 0) {
5241 return
5242 }
5243
5244 this.setFields(fbeValue)
5245 this.setEnd(fbeBegin)
5246 }
5247
5248 /**
5249 * Set the struct fields values

Callers 6

setFieldsMethod · 0.45
serializeMethod · 0.45
setFieldsMethod · 0.45
serializeMethod · 0.45
requestMethod · 0.45
requestMethod · 0.45

Calls 3

setBeginMethod · 0.95
setFieldsMethod · 0.95
setEndMethod · 0.95

Tested by

no test coverage detected