blob: 25ef48f48661bff6a06a42dc36e8c9ca51428d08 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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: ...
|