Storage of DYNs

If the element type is dyn, it is always stored in the column with the "dyn_" suffix.

To fit all elements into one column, a custom format is used.

This format is a repeated sequence of:

NumberOfBytes:<Bytes>

Example

5:Hello6:World!

The langString data type uses a format derived from the sequence above.

A langString is an array of strings. However, by default, it is saved in the column with the "string_" suffix but using the dyn storage format.

This makes a dyn_LangString an array of an array, which then layers this format.

Example

14:5:Hello5:Hallo9:3:You2:Du

14 bytes are the first entry in the array, which is 5:Hello5:Hallo.

Followed by 9 bytes of the second entry, which is 3:You2:Du.

Each of these entries is a single LangString, which again is a string array itself.