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

Method fbe_allocation_size

proto/proto_final_models.cpp:21–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19{}
20
21size_t FinalModel<::proto::Order>::fbe_allocation_size(const ::proto::Order& fbe_value) const noexcept
22{
23 size_t fbe_result = 0
24 + id.fbe_allocation_size(fbe_value.id)
25 + symbol.fbe_allocation_size(fbe_value.symbol)
26 + side.fbe_allocation_size(fbe_value.side)
27 + type.fbe_allocation_size(fbe_value.type)
28 + price.fbe_allocation_size(fbe_value.price)
29 + volume.fbe_allocation_size(fbe_value.volume)
30 ;
31 return fbe_result;
32}
33
34size_t FinalModel<::proto::Order>::verify() const noexcept
35{

Callers 1

serializeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected