@Override
    public byte[] getRaw(int colId) {
        if (rowDataAddr == 0) {
            throw new IllegalStateException("illegal row");
        }
        long offsetAndLen = strOffsetLen(colId);
        int offset = (int) (offsetAndLen >>> 32);
        int len = (int) offsetAndLen & ColumnType.MAX_STRING_UTF8_SIZE_MASK;
        byte[] bytes = new byte[len];
        Platform.copyMemory(null, rowDataAddr + offset, bytes, BYTE_ARRAY_OFFSET, len);
        return bytes;
    }
The aproximately memeory usage of this object. Currently only return the raw row data size.
indexr-segment/src/main/java/io/indexr/segment/rt/UTF8Row.java