public static String extractValue(final ByteBuffer byteBuffer) {
        try {
            String str = StandardCharsets.UTF_8.decode(byteBuffer).toString();
            byteBuffer.flip();
            return str;
        } catch (Exception e) {
            throw new RuntimeException(LogUtil.message("Unable to decode string from byteBuffer {}",
                    ByteBufferUtils.byteBufferInfo(byteBuffer)), e);
        }
    }
Extracts the string value from the buffer.
stroom-lmdb/src/main/java/stroom/lmdb/serde/StringSerde.java