MCPcopy Create free account
hub / github.com/EasyIME/PIME / mask

Method mask

python/python3/tornado/test/websocket_test.py:735–736  ·  view source on GitHub ↗
(self, mask: bytes, data: bytes)

Source from the content-addressed store, hash-verified

733class MaskFunctionMixin(object):
734 # Subclasses should define self.mask(mask, data)
735 def mask(self, mask: bytes, data: bytes) -> bytes:
736 raise NotImplementedError()
737
738 def test_mask(self: typing.Any):
739 self.assertEqual(self.mask(b"abcd", b""), b"")

Callers 1

test_maskMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected