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

Method create_end

projects/Python/proto/test.py:15390–15394  ·  view source on GitHub ↗
(self, fbe_begin)

Source from the content-addressed store, hash-verified

15388
15389 # Create a new model (end phase)
15390 def create_end(self, fbe_begin):
15391 fbe_end = self.buffer.size
15392 fbe_full_size = fbe_end - fbe_begin
15393 self.write_uint32(self._model.fbe_offset - 4, fbe_full_size)
15394 return fbe_full_size
15395
15396 # Serialize the struct value
15397 def serialize(self, value):

Callers 1

serializeMethod · 0.95

Calls 1

write_uint32Method · 0.45

Tested by

no test coverage detected