protected void putUtf8(Serializer buf, String val) {
        byte[] raw = Utf8.toBytes(val);
        buf.putInt(null, raw.length);
        buf.put(null, raw);
    }
Creates an instance of a given class specification. All instantiation-type exceptions are consumed and
wrapped inside a runtime exception so that calling methods can let this propagate without declaring them
thrown.
vespajlib/src/main/java/com/yahoo/vespa/objects/Identifiable.java