MCPcopy Create free account
hub / github.com/BaseXdb/basex / read

Method read

basex-core/src/main/java/org/basex/io/in/ServerInput.java:30–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28 }
29
30 @Override
31 public int read() throws IOException {
32 if(more) {
33 final int b = input.read();
34 if(b != 0) return b == 0xFF ? input.read() : b;
35 more = false;
36 }
37 return -1;
38 }
39
40 /**
41 * Flushes the remaining client data.

Callers 3

flushMethod · 0.95
cacheMethod · 0.95
receiveMethod · 0.95

Calls 1

readMethod · 0.65

Tested by

no test coverage detected