libbgcode icon indicating copy to clipboard operation
libbgcode copied to clipboard

WDYT of using key-value encoding rather than INI encoding?

Open vlsi opened this issue 1 year ago • 2 comments

I believe a structured encoding for key-value might be easier to parse.

For instance:

unit16_t keySize;
char* key;
uint16_t valueSize;
char* value;

The specification might add a limit like 128 bytes for the maximum key and value, so the consumers can reject files if a key or value exceeds 128.

vlsi avatar Oct 26 '23 12:10 vlsi