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

Method create_end

proto/test_models.cpp:890–896  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

888}
889
890size_t StructSimpleModel::create_end(size_t fbe_begin)
891{
892 size_t fbe_end = this->buffer().size();
893 uint32_t fbe_full_size = (uint32_t)(fbe_end - fbe_begin);
894 *((uint32_t*)(this->buffer().data() + this->buffer().offset() + model.fbe_offset() - 4)) = fbe_full_size;
895 return fbe_full_size;
896}
897
898size_t StructSimpleModel::serialize(const ::test::StructSimple& value)
899{

Callers 2

test_create.cppFile · 0.45
mainFunction · 0.45

Calls 5

sizeMethod · 0.45
bufferMethod · 0.45
dataMethod · 0.45
offsetMethod · 0.45
fbe_offsetMethod · 0.45

Tested by

no test coverage detected