Home
last modified time | relevance | path

Searched refs:maskIndex (Results 1 – 2 of 2) sorted by relevance

/unit/src/java/nginx/unit/websocket/
H A DWsFrameBase.java80 private int maskIndex = 0; field in WsFrameBase
603 maskIndex = 0; in newFrame()
986 byte b = (byte) ((inputBuffer.get() ^ mask[maskIndex]) & 0xFF); in getMoreData()
987 maskIndex++; in getMoreData()
988 if (maskIndex == 4) { in getMoreData()
989 maskIndex = 0; in getMoreData()
H A DWsRemoteEndpointImplBase.java810 private int maskIndex = 0; field in WsRemoteEndpointImplBase.OutputBufferSendHandler
857 (byte) (payload.get() ^ (mask[maskIndex++] & 0xFF))); in write()
858 if (maskIndex > 3) { in write()
859 maskIndex = 0; in write()