MCPcopy Create free account
hub / github.com/benfry/processing4 / readChar

Method readChar

java/libraries/net/src/processing/net/Client.java:400–405  ·  view source on GitHub ↗

Returns the next byte in the buffer as a char. Returns -1 or 0xffff if nothing is there. @webref client @usage application @webBrief Returns the next byte in the buffer as a char

()

Source from the content-addressed store, hash-verified

398 * @webBrief Returns the next byte in the buffer as a char
399 */
400 public char readChar() {
401 synchronized (bufferLock) {
402 if (bufferIndex == bufferLast) return (char) (-1);
403 return (char) read();
404 }
405 }
406
407
408 /**

Callers

nothing calls this directly

Calls 1

readMethod · 0.95

Tested by

no test coverage detected