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

Method attach_buffer

projects/Python/proto/fbe.py:280–281  ·  view source on GitHub ↗
(self, buffer, offset=0, size=None)

Source from the content-addressed store, hash-verified

278
279 # Attach a given memory buffer
280 def attach_buffer(self, buffer, offset=0, size=None):
281 self.buffer.attach_buffer(buffer, offset, size)
282
283 # Allocate memory in the current write buffer and return offset to the allocated memory block
284 def allocate(self, size):

Callers 15

cloneMethod · 0.45
cloneMethod · 0.45
cloneMethod · 0.45
cloneMethod · 0.45
cloneMethod · 0.45
cloneMethod · 0.45
cloneMethod · 0.45
cloneMethod · 0.45
cloneMethod · 0.45
cloneMethod · 0.45
cloneMethod · 0.45
cloneMethod · 0.45

Calls

no outgoing calls

Tested by 15

cloneMethod · 0.36
cloneMethod · 0.36
cloneMethod · 0.36
cloneMethod · 0.36
cloneMethod · 0.36
cloneMethod · 0.36
cloneMethod · 0.36
cloneMethod · 0.36
cloneMethod · 0.36
cloneMethod · 0.36
cloneMethod · 0.36
cloneMethod · 0.36