I have a compressed unsigned char
array of a known size. Due to compression considiration I don't store the null-terminator at the end. I want to compare it to another array of the same format. What
would be the best way to do so?
I thought duplicating the comparessed arrays to a new array, add the null-terminator, and then compare them using strcmp()
.
Any better suggestions?