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

Method verify

projects/JavaScript/proto/enums.js:6166–6171  ·  view source on GitHub ↗

* Check if the struct value is valid * @this {!FinalModelEnums} * @returns {!number} Final model size or Number.MAX_SAFE_INTEGER in case of any error

()

Source from the content-addressed store, hash-verified

6164 * @returns {!number} Final model size or Number.MAX_SAFE_INTEGER in case of any error
6165 */
6166 verify () {
6167 this._buffer.shift(this.fbeOffset)
6168 let fbeResult = this.verifyFields()
6169 this._buffer.unshift(this.fbeOffset)
6170 return fbeResult
6171 }
6172
6173 /**
6174 * Check if the struct fields are valid

Callers

nothing calls this directly

Calls 3

verifyFieldsMethod · 0.95
shiftMethod · 0.45
unshiftMethod · 0.45

Tested by

no test coverage detected