public static String decode(byte[] data, int pos, int len) {
        return Utf8.toString(data, pos, len);
    }
Helper class for conversion between String and UTF-8 representations.
vespajlib/src/main/java/com/yahoo/slime/Utf8Codec.java