MCPcopy Create free account
hub / github.com/ZeroIntensity/pointers.py / _make_stream_and_ptr

Method _make_stream_and_ptr

src/pointers/base_pointers.py:300–306  ·  view source on GitHub ↗
(
        self,
        size: int,
        address: int,
    )

Source from the content-addressed store, hash-verified

298 return self._address
299
300 def _make_stream_and_ptr(
301 self,
302 size: int,
303 address: int,
304 ) -> Tuple["ctypes._PointerLike", bytes]:
305 bytes_a = (ctypes.c_ubyte * size).from_address(address)
306 return self.make_ct_pointer(), bytes(bytes_a)
307
308 @handle
309 def move(

Callers 1

moveMethod · 0.95

Calls 1

make_ct_pointerMethod · 0.95

Tested by

no test coverage detected