You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
458 B
16 lines
458 B
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: ...
|