libbgcode
libbgcode copied to clipboard
WDYT of using key-value encoding rather than INI encoding?
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.