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

Method resize

src/pointers/api_bindings.py:294–297  ·  view source on GitHub ↗
(bytearray: PyObjectLike, len: int)

Source from the content-addressed store, hash-verified

292 # PyByteArray_Resize
293 @staticmethod
294 def resize(bytearray: PyObjectLike, len: int) -> int:
295 return api_binding_base(
296 API_FUNCS["PyByteArray_Resize"], _deref_maybe(bytearray), len
297 )
298
299 # PyByteArray_Size
300 @staticmethod

Callers

nothing calls this directly

Calls 2

api_binding_baseFunction · 0.85
_deref_maybeFunction · 0.85

Tested by

no test coverage detected