Sending of char* is potentially error prone because of null end character. That is why strings has to be always at the end of the message. Using of array of chars solve this problem. This will help to generalize compression and decompression of strings.
Sending of char* is potentially error prone because of null end character. That is why strings has to be always at the end of the message. Using of array of chars solve this problem. This will help to generalize compression and decompression of strings.