How to unpack an .xz file with Julia

The only functions in your snippet that care about line delimiters are eachline and println. For example, read(XzDecompressorStream(stream)) would read the whole decompressed content as a vector of raw bytes.

1 Like