MCPcopy Create free account
hub / github.com/jOOQ/jOOQ / read

Method read

jOOQ/src/main/java/org/jooq/Source.java:416–425  ·  view source on GitHub ↗
(char[] cbuf, int off, int len)

Source from the content-addressed store, hash-verified

414 }
415
416 @Override
417 public int read(char[] cbuf, int off, int len) throws java.io.IOException {
418 if (length > 0) {
419 int r = reader.read(cbuf, off, Math.min(length, len));
420 length -= len;
421 return r;
422 }
423 else
424 return -1;
425 }
426
427 @Override
428 public void close() throws java.io.IOException {

Callers 2

readMethod · 0.45
readStringMethod · 0.45

Calls 1

minMethod · 0.65

Tested by

no test coverage detected