11 lines
271 B
Python
11 lines
271 B
Python
|
from typing import Any, overload
|
||
|
|
||
|
class BufferProxy(object):
|
||
|
parent: Any
|
||
|
length: int
|
||
|
@overload
|
||
|
def __init__(self) -> None: ...
|
||
|
@overload
|
||
|
def __init__(self, parent: Any) -> None: ...
|
||
|
def write(self, buffer: bytes, offset: int = 0) -> None: ...
|