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

Method get

projects/JavaScript/proto/protoex.js:1265–1275  ·  view source on GitHub ↗

* Get the struct value * @this {!FieldModelOrder} * @param {!Order} fbeValue Default value, defaults is new Order() * @returns {!Order} Order value

(fbeValue = new Order())

Source from the content-addressed store, hash-verified

1263 * @returns {!Order} Order value
1264 */
1265 get (fbeValue = new Order()) {
1266 let fbeBegin = this.getBegin()
1267 if (fbeBegin === 0) {
1268 return fbeValue
1269 }
1270
1271 let fbeStructSize = this.readUInt32(0)
1272 this.getFields(fbeValue, fbeStructSize)
1273 this.getEnd(fbeBegin)
1274 return fbeValue
1275 }
1276
1277 /**
1278 * Get the struct fields values

Callers 15

getFieldsMethod · 0.45
deserializeMethod · 0.45
getFieldsMethod · 0.45
deserializeMethod · 0.45
getFieldsMethod · 0.45
deserializeMethod · 0.45
getFieldsMethod · 0.45
deserializeMethod · 0.45
getFieldsMethod · 0.45
deserializeMethod · 0.45
getFieldsMethod · 0.45
deserializeMethod · 0.45

Calls 4

getBeginMethod · 0.95
getFieldsMethod · 0.95
getEndMethod · 0.95
readUInt32Method · 0.45

Tested by

no test coverage detected