Answer the question
In order to leave comments, you need to log in
gzip strings without nullbytes
Hello residents of habr.
Perhaps someone will find the question strange / stupid,
but is it possible to gzip the string somehow so that the zipped result is without null bytes?
is it possible by the algorithm itself?
Answer the question
In order to leave comments, you need to log in
The standard does not provide for this, moreover, there will most likely be zero bytes in the header, and in the compressed content itself.
www.gzip.org/zlib/rfc-gzip.html
In principle, in my opinion, not one archiver bothers with null bytes.
And what's the problem? Maybe you can solve it differently.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question