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

Method as_string_and_size

src/pointers/api_bindings.py:315–320  ·  view source on GitHub ↗
(
        obj: PyObjectLike, buffer: PointerLike, length: PointerLike
    )

Source from the content-addressed store, hash-verified

313 # PyBytes_AsStringAndSize
314 @staticmethod
315 def as_string_and_size(
316 obj: PyObjectLike, buffer: PointerLike, length: PointerLike
317 ) -> int:
318 return api_binding_base(
319 API_FUNCS["PyBytes_AsStringAndSize"], _deref_maybe(obj), buffer, length
320 )
321
322 # PyBytes_Concat
323 @staticmethod

Callers

nothing calls this directly

Calls 2

api_binding_baseFunction · 0.85
_deref_maybeFunction · 0.85

Tested by

no test coverage detected