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

Method read

java/src/org/openqa/selenium/grid/web/TeeReader.java:34–44  ·  view source on GitHub ↗
(char[] cbuf, int off, int len)

Source from the content-addressed store, hash-verified

32 }
33
34 @Override
35 public int read(char[] cbuf, int off, int len) throws IOException {
36 int read = source.read(cbuf, off, len);
37
38 if (read != -1) {
39 for (Writer sink : sinks) {
40 sink.write(cbuf, off, read);
41 }
42 }
43 return read;
44 }
45
46 @Override
47 public void close() throws IOException {

Callers

nothing calls this directly

Calls 2

readMethod · 0.65
writeMethod · 0.45

Tested by

no test coverage detected