Serialize and Deserialize Run Length Encoding Data
import serialize_basic_csv from 'rle-serializers/serialize_basic_csv';
const csv = serialize_basic_csv([5, 3, 1, 8, 2, 0]);
//5,3,1,8,2,0
const data = deserialize_basic_csv("5,3,1,8,2,0");
// [5, 3, 1, 8, 2, 0]
import serialize_advanced_csv from 'rle-serializers/serialize_advanced_csv';
const csv = serialize_advanced_csv([5, 3, 1, 8, 2, 0]);
//3x5,8,0x2
import deserialize_advanced_csv from 'rle-serializers/serialize_advanced_csv';
const data = deserialize_advanced_csv("3x5,8,0x2");
// [5, 3, 1, 8, 2, 0]
Post an issue at https://github.com/danieljdufour/rle-serializers/issues