final public void writeTo(ByteBuffer target) {
        target.put(getBytes(), getByteOffset(), getByteLength());
    }
Writes the utf8 sequence to the given target.
vespajlib/src/main/java/com/yahoo/text/AbstractUtf8Array.java