Traktor/myenv/Lib/site-packages/pygame/bufferproxy.pyi

16 lines
458 B
Python
Raw Normal View History

2024-05-26 05:12:46 +02:00
from typing import Any, Dict, overload
class BufferProxy:
parent: Any
length: int
raw: bytes
# possibly going to be deprecated/removed soon, in which case these
# typestubs must be removed too
__array_interface__: Dict[str, Any]
__array_struct__: Any
@overload
def __init__(self) -> None: ...
@overload
def __init__(self, parent: Any) -> None: ...
def write(self, buffer: bytes, offset: int = 0) -> None: ...