Jun 15, 2014 at 8:43am UTC
Write your question here.
Dears,
Kindly I have array of BCD values and I need to compress the size of it.
I used many compress mechanism like minilizo and Gzip but data is compressed only in case many records were duplicated for example
const char* strwxyz ="\xFE\xC4\xB9\x94\x6C\x51\x41\x9E"
"\xFE\xC4\xB9\x94\x6C\x51\x41\x9E"
"\xFE\xC4\xB9\x94\x6C\x51\x41\x9E"
"\xFE\xC4\xB9\x94\x6C\x51\x41\x9E"
"\xFE\xC4\xB9\x94\x6C\x51\x41\x9E"
"\xFE\xB2\x2A\x8D\x9A\x2D\x48\x84"
"\xFE\xB2\x2A\x8D\x9A\x2D\x48\x84"
"\xFE\xB2\x2A\x8D\x9A\x2D\x48\x84\0";
but when the sample of date has nothing repeated it fails to compress
const char* strwxyz ="\xFE\xC4\xB9\x94\x6C\x51\x41\x9E"
"\xFE\xC4\xB9\x94\x6C\x51\x42\x9E"
"\xFE\xC4\xB9\x94\x6C\x51\x43\x9E"
"\xFE\xC4\xB9\x94\x6C\x51\x44\x9E"
"\xFE\xC4\xB9\x94\x6C\x51\x45\x9E"
"\xFE\xB2\x2A\x8D\x9A\x2D\x48\x84"
"\xFE\xB2\x2A\x8D\x9A\x2D\x49\x84"
"\xFE\xB2\x2A\x8D\x9A\x2D\x40\x84\0";a
Kindly please advise if there is way to compress BCD da