antirez / antirez/lua-cmsgpack
Question about the separator of cmsgpack data
Ouverte
- Langage dominant
- C
- Étoiles
- 383
- Forks
- 122
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
I want to store some lua table data in a file. I use cmsgpack.pack(table) to convert it into a binary string, and then write it into the file. But I encountered a separator problem. I tried to use '\n' as the separator at first, but I found that the binary string may also contain the separator '\n' , which made me unable to read the binary file correctly.
How should I store and use what delimiter to divide the data?
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.