benilla-re systems structs docs

s_serializeEscapeKinds

global · ui

Address
0x704a6c · 93 bytes, up to 0x704ac8
Type
const uint8_t[93]
Meaning
Maps the bytes 0 to 92 to the escape cases of 0x704a5c
Confidence
verified, proof two
Finding
ui/savedvariables#the-saved-variables-format

Finding: The saved variables format in ui: saved variables

Each variable is CR LF, its name, = and its value; the flat and account files end with CR LF, a character file with CR alone. Nil and booleans are written as such, other numbers as #saved-numbers says, a NaN of either sign as nil --[[ nan ]] and either infinity as nil --[[ inf ]]. Strings are quoted, escaping only \, ", LF as \n and NUL as \000. Functions, userdata and threads are written as nil with a comment.

The derivation is in the doc.