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

Method create_end

projects/Python/proto/proto.py:2099–2103  ·  view source on GitHub ↗
(self, fbe_begin)

Source from the content-addressed store, hash-verified

2097
2098 # Create a new model (end phase)
2099 def create_end(self, fbe_begin):
2100 fbe_end = self.buffer.size
2101 fbe_full_size = fbe_end - fbe_begin
2102 self.write_uint32(self._model.fbe_offset - 4, fbe_full_size)
2103 return fbe_full_size
2104
2105 # Serialize the struct value
2106 def serialize(self, value):

Callers 3

serializeMethod · 0.95
mainFunction · 0.95

Calls 1

write_uint32Method · 0.45

Tested by 1