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

Method readTokens

basex-core/src/main/java/org/basex/io/in/DataInput.java:95–100  ·  view source on GitHub ↗

Reads a token array. @return double array @throws IOException I/O Exception

()

Source from the content-addressed store, hash-verified

93 * @throws IOException I/O Exception
94 */
95 public byte[][] readTokens() throws IOException {
96 final int l = readNum();
97 final byte[][] tmp = new byte[l][];
98 for(int i = 0; i < l; ++i) tmp[i] = readToken();
99 return tmp;
100 }
101
102 /**
103 * Reads a compressed integer value; see {@link Num} for more.

Callers 2

pathsMethod · 0.80
readMethod · 0.80

Calls 2

readNumMethod · 0.95
readTokenMethod · 0.95

Tested by

no test coverage detected