MCPcopy Index your code
hub / github.com/processing/processing / readChar

Method readChar

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

( begin auto-generated from Client_readChar.xml ) Returns the next byte in the buffer as a char. Returns -1 or 0xffff if nothing is there. ( end auto-generated ) @webref client:client @usage application @brief Returns the next byte in the buffer as a char

()

Source from the content-addressed store, hash-verified

413 * @brief Returns the next byte in the buffer as a char
414 */
415 public char readChar() {
416 synchronized (bufferLock) {
417 if (bufferIndex == bufferLast) return (char) (-1);
418 return (char) read();
419 }
420 }
421
422
423 /**

Callers

nothing calls this directly

Calls 1

readMethod · 0.95

Tested by

no test coverage detected