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

Method toString

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

Consumes remaining contents of this object, and returns them as a string.

()

Source from the content-addressed store, hash-verified

84
85 /** Consumes remaining contents of this object, and returns them as a string. */
86 public String toString() {
87 Charset cset = Charset.forName("UTF-8");
88 CharBuffer cb = cset.decode(ByteBuffer.wrap(this.toArray()));
89 return cb.toString();
90 }
91
92 /** Consumes remaining contents of this object, and returns them as a byte array. */
93 public byte[] toArray() {

Callers

nothing calls this directly

Calls 2

toArrayMethod · 0.95
decodeMethod · 0.45

Tested by

no test coverage detected