scamper.http.websocket.MaskingKey
See theMaskingKey companion object
trait MaskingKey
Defines masking key for payload data.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Abstract methods
Applies key to length
bytes of data
, assuming first byte corresponds to position
in payload.
Applies key to length
bytes of data
, assuming first byte corresponds to position
in payload.
Value parameters
- data
-
bytes to which key is applied
- length
-
number of bytes to which key is applied
- position
-
offset into payload to which first byte of data corresponds
Attributes
- Returns
-
modified data
Gets key value.
Gets key value.
Attributes
Concrete methods
Applies key to supplied data.
Applies key to supplied data.
Value parameters
- data
-
bytes to which key is applied
Attributes
- Returns
-
modified data
- Note
-
Equivalent to:
apply(data, data.size, 0)
In this article