projektAI/venv/Lib/site-packages/pygame/bufferproxy.pyi
2021-06-06 22:13:05 +02:00

14 lines
363 B
Python

from typing import Any, overload, Optional, TypeVar, Text
AnyStr = TypeVar("AnyStr", Text, bytes)
class BufferProxy(object):
parent: Any
length: int
raw: AnyStr
@overload
def __init__(self) -> None: ...
@overload
def __init__(self, parent: Any) -> None: ...
def write(self, buffer: bytes, offset: Optional[int] = 0) -> None: ...