MCPcopy Create free account
hub / github.com/e2wugui/zeze / write_bytebuffer

Method write_bytebuffer

python/zeze/buffer.py:931–932  ·  view source on GitHub ↗
(self, bb)

Source from the content-addressed store, hash-verified

929 return ByteBuffer.wrap(self.buf, ri, n)
930
931 def write_bytebuffer(self, bb):
932 self.write_bytes(bb.buf, bb.ri, bb.size())
933
934 def __str__(self, *args, **kwargs):
935 return to_string_with_limit2(16, 4, self.buf, self.ri, self.size())

Callers

nothing calls this directly

Calls 2

write_bytesMethod · 0.95
sizeMethod · 0.65

Tested by

no test coverage detected