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

Method create_end

projects/Python/proto/protoex.py:2216–2220  ·  view source on GitHub ↗
(self, fbe_begin)

Source from the content-addressed store, hash-verified

2214
2215 # Create a new model (end phase)
2216 def create_end(self, fbe_begin):
2217 fbe_end = self.buffer.size
2218 fbe_full_size = fbe_end - fbe_begin
2219 self.write_uint32(self._model.fbe_offset - 4, fbe_full_size)
2220 return fbe_full_size
2221
2222 # Serialize the struct value
2223 def serialize(self, value):

Callers 1

serializeMethod · 0.95

Calls 1

write_uint32Method · 0.45

Tested by

no test coverage detected