Home
last modified time | relevance | path

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

/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/
DNanoWSD.java221 sendFrame(new WebSocketFrame(OpCode.Pong, true, frame.getBinaryPayload())); in handleWebsocketFrame()
369 if (wrap.getBinaryPayload().length >= 2) { in CloseFrame()
370 …this._closeCode = CloseCode.find((wrap.getBinaryPayload()[0] & 0xFF) << 8 | wrap.getBinaryPayload(… in CloseFrame()
371 … this._closeReason = binary2Text(getBinaryPayload(), 2, getBinaryPayload().length - 2); in CloseFrame()
505 _payloadLength += inter.getBinaryPayload().length; in WebSocketFrame()
514 … System.arraycopy(inter.getBinaryPayload(), 0, payload, offset, inter.getBinaryPayload().length); in WebSocketFrame()
515 offset += inter.getBinaryPayload().length; in WebSocketFrame()
523 setBinaryPayload(clone.getBinaryPayload()); in WebSocketFrame()
527 public byte[] getBinaryPayload() { in getBinaryPayload() method in NanoWSD.WebSocketFrame
544 this._payloadString = binary2Text(getBinaryPayload()); in getTextPayload()
[all …]