Home
last modified time | relevance | path

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

/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/
DNanoWSD.java426 private static int checkedRead(int read) throws IOException { in checkedRead() method in NanoWSD.WebSocketFrame
434 byte head = (byte) checkedRead(in.read()); in read()
590 read += checkedRead(in.read(this.payload, read, this._payloadLength - read)); in readPayload()
608 byte b = (byte) checkedRead(in.read()); in readPayloadInfo()
614 … this._payloadLength = (checkedRead(in.read()) << 8 | checkedRead(in.read())) & 0xFFFF; in readPayloadInfo()
620 …(long) checkedRead(in.read()) << 56 | (long) checkedRead(in.read()) << 48 | (long) checkedRead(in.… in readPayloadInfo()
621 …| checkedRead(in.read()) << 24 | checkedRead(in.read()) << 16 | checkedRead(in.read()) << 8 | chec… in readPayloadInfo()
644 … read += checkedRead(in.read(this.maskingKey, read, this.maskingKey.length - read)); in readPayloadInfo()