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

Method createBegin

projects/JavaScript/proto/test.js:22393–22395  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

22391 * @returns {!number} Model begin offset
22392 */
22393 createBegin () {
22394 return this.buffer.allocate(4 + this.model.fbeSize)
22395 }
22396
22397 /**
22398 * Create a new model (end phase)

Callers 1

serializeMethod · 0.95

Calls 1

allocateMethod · 0.45

Tested by

no test coverage detected