public static int needMemory(int count, int totalStringLen) {
        return ((count + 1) << 2) + totalStringLen;
    }
A class help explain the string values' strcuture in an offheap byte array.

| offset0 | offset1 | offset2 | offset3(str_total_len) | s0 | s1 | s2 |
| <-                   index(int)                   -> |<- str_data ->|
indexr-common/src/main/java/io/indexr/data/StringsStruct.java