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

Method createBegin

projects/JavaScript/proto/proto.js:2387–2389  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

2385 * @returns {!number} Model begin offset
2386 */
2387 createBegin () {
2388 return this.buffer.allocate(4 + this.model.fbeSize)
2389 }
2390
2391 /**
2392 * Create a new model (end phase)

Callers 1

serializeMethod · 0.95

Calls 1

allocateMethod · 0.45

Tested by

no test coverage detected