MCPcopy Index your code
hub / github.com/brianfrankcooper/YCSB / nextBuf

Method nextBuf

core/src/main/java/site/ycsb/ByteIterator.java:60–67  ·  view source on GitHub ↗

@return byte offset immediately after the last valid byte

(byte[] buf, int bufOff)

Source from the content-addressed store, hash-verified

58
59 /** @return byte offset immediately after the last valid byte */
60 public int nextBuf(byte[] buf, int bufOff) {
61 int sz = bufOff;
62 while (sz < buf.length && hasNext()) {
63 buf[sz] = nextByte();
64 sz++;
65 }
66 return sz;
67 }
68
69 public abstract long bytesLeft();
70

Callers 2

encodeMethod · 0.95
packRowDataMethod · 0.95

Calls 2

hasNextMethod · 0.95
nextByteMethod · 0.95

Tested by

no test coverage detected