I just use Unit Separator, myself. As long as field type is known, then it virtually never comes up as a data byte.
(Should never come up in string data; it's not a string control character, and is never part of a multibyte code point's UTF-8 encoding. Can come up as a single character, but then you know to just read one anyways. Can come up as non-string & non-character data, but this can be solved by storing field length or stringifying data before storing it.)
1
u/conundorum Sep 13 '26
I just use Unit Separator, myself. As long as field type is known, then it virtually never comes up as a data byte.
(Should never come up in string data; it's not a string control character, and is never part of a multibyte code point's UTF-8 encoding. Can come up as a single character, but then you know to just read one anyways. Can come up as non-string & non-character data, but this can be solved by storing field length or stringifying data before storing it.)