Mercurial > code > home > repos > light9
diff stubs/autobahn/websocket/xormasker.pyi @ 1900:84b5aab10e47
stubs
Ignore-this: 69aa78eaab81f65fcf977cf9c00ddfec
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Fri, 31 May 2019 22:41:29 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/stubs/autobahn/websocket/xormasker.pyi Fri May 31 22:41:29 2019 +0000 @@ -0,0 +1,27 @@ +# Stubs for autobahn.websocket.xormasker (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from typing import Any, Optional +from wsaccel.xormask import createXorMasker + +create_xor_masker = createXorMasker +xrange = range + +class XorMaskerNull: + def __init__(self, mask: Optional[Any] = ...) -> None: ... + def pointer(self): ... + def reset(self) -> None: ... + def process(self, data: Any): ... + +class XorMaskerSimple: + def __init__(self, mask: Any) -> None: ... + def pointer(self): ... + def reset(self) -> None: ... + def process(self, data: Any): ... + +class XorMaskerShifted1: + def __init__(self, mask: Any) -> None: ... + def pointer(self): ... + def reset(self) -> None: ... + def process(self, data: Any): ...