public static void putBytes(byte[] bytes, ByteBuffer buffer) {
        IntegerCompressor.putCompressedPositiveNumber(bytes.length, buffer);
        buffer.put(bytes);
    }
Utility method for turning a string into utf-8 bytes
container-search/src/main/java/com/yahoo/prelude/query/Item.java