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

Method read

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

Read and consume the next character from the input. @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

105 * input is exhausted
106 */
107 public int read() {
108 int next = position + 1;
109 if (next < filled) {
110 position = next;
111 return buffer[next];
112 }
113 return fill() ? buffer[++position] : EOF;
114 }
115
116 /**
117 * Attempt to consume the body of a JSON string (with the leading quote already consumed) directly

Callers

nothing calls this directly

Calls 1

fillMethod · 0.95

Tested by

no test coverage detected