Closed NicolasRouquette closed 6 years ago
For serialization/deserialization, an alternative could be Base64 encoding/decoding.
However, this is undesirable because the omlzip format is intended to support precise differences in GIT. If we were to encode raw strings in Base64, we'd have to have a non-trivial utility to diff encoded raw strings.
The suggestion is as follows:
\n
,\r
,"
, keeping he splitting character."\n"
,"\r"
,"\""
Example:
This would yield the following array: