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

Method CreateBegin

projects/Go/proto/proto/OrderModel.go:56–59  ·  view source on GitHub ↗

Create a new model (begin phase)

()

Source from the content-addressed store, hash-verified

54
55// Create a new model (begin phase)
56func (m *OrderModel) CreateBegin() int {
57 fbeBegin := m.buffer.Allocate(4 + m.model.FBESize())
58 return fbeBegin
59}
60
61// Create a new model (end phase)
62func (m *OrderModel) CreateEnd(fbeBegin int) int {

Callers 2

SerializeMethod · 0.95
mainFunction · 0.45

Calls 2

AllocateMethod · 0.45
FBESizeMethod · 0.45

Tested by

no test coverage detected