1900
|
1 # Stubs for autobahn.websocket.xormasker (Python 3)
|
|
2 #
|
|
3 # NOTE: This dynamically typed stub was automatically generated by stubgen.
|
|
4
|
|
5 from typing import Any, Optional
|
|
6 from wsaccel.xormask import createXorMasker
|
|
7
|
|
8 create_xor_masker = createXorMasker
|
|
9 xrange = range
|
|
10
|
|
11 class XorMaskerNull:
|
|
12 def __init__(self, mask: Optional[Any] = ...) -> None: ...
|
|
13 def pointer(self): ...
|
|
14 def reset(self) -> None: ...
|
|
15 def process(self, data: Any): ...
|
|
16
|
|
17 class XorMaskerSimple:
|
|
18 def __init__(self, mask: Any) -> None: ...
|
|
19 def pointer(self): ...
|
|
20 def reset(self) -> None: ...
|
|
21 def process(self, data: Any): ...
|
|
22
|
|
23 class XorMaskerShifted1:
|
|
24 def __init__(self, mask: Any) -> None: ...
|
|
25 def pointer(self): ...
|
|
26 def reset(self) -> None: ...
|
|
27 def process(self, data: Any): ...
|