massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / paramiko / paramiko / ber.pyi
1 from typing import Any, Iterable
2
3 class BERException(Exception): ...
4
5 class BER:
6     content: bytes
7     idx: int
8     def __init__(self, content: bytes = ...) -> None: ...
9     def asbytes(self) -> bytes: ...
10     def decode(self) -> None | int | list[int]: ...
11     def decode_next(self) -> None | int | list[int]: ...
12     @staticmethod
13     def decode_sequence(data: bytes) -> list[int | list[int]]: ...
14     def encode_tlv(self, ident: int, val: bytes) -> None: ...
15     def encode(self, x: Any) -> None: ...
16     @staticmethod
17     def encode_sequence(data: Iterable[str]) -> bytes: ...