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

Method createBegin

projects/JavaScript/proto/test.js:17874–17876  ·  view source on GitHub ↗

* Create a new model (begin phase) * @this {!StructListModel} * @returns {!number} Model begin offset

()

Source from the content-addressed store, hash-verified

17872 * @returns {!number} Model begin offset
17873 */
17874 createBegin () {
17875 return this.buffer.allocate(4 + this.model.fbeSize)
17876 }
17877
17878 /**
17879 * Create a new model (end phase)

Callers 1

serializeMethod · 0.95

Calls 1

allocateMethod · 0.45

Tested by

no test coverage detected