public static void putString(String s, ByteBuffer buffer) {
        putBytes(Utf8.toBytes(s), buffer);
    }
Utility method for turning a string into utf-8 bytes
container-search/src/main/java/com/yahoo/prelude/query/Item.java