MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / peek

Method peek

java/src/org/openqa/selenium/json/Input.java:75–77  ·  view source on GitHub ↗

Extract the next character from the input without consuming it. @return the next input character as an unsigned UTF-16 code unit (0-65535); #EOF if input is exhausted

()

Source from the content-addressed store, hash-verified

73 * input is exhausted
74 */
75 public int peek() {
76 return fill() ? buffer[position + 1] : EOF;
77 }
78
79 /**
80 * Read and consume the next character from the input.

Calls 1

fillMethod · 0.95