benilla-re systems structs docs

s_serializeBuffer

global · ui

Address
0xceeb60 · 1024 bytes, up to 0xceef5f
Type
char[1024]
Meaning
Holds the line the saved-variables writer builds
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.