Mercurial > code > home > repos > rdfdb
diff stubs/autobahn/websocket/xormasker.pyi @ 64:c1a9403e5d21
stubs
Ignore-this: d755514360cce384effcd7a78b4657ed
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Fri, 31 May 2019 21:39:02 +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 21:39:02 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): ...