public static String toString(final ByteBuffer byteBuffer) {
        return new String(toBytes(byteBuffer), StandardCharsets.UTF_8);
    }
Get the requested length number of bytes from the specified index.
stroom-bytebuffer/src/main/java/stroom/bytebuffer/ByteBufferUtils.java