Thanks Chris, based on the usage in plink_merge.cc, I guess the parameters should be:
1. File name
2. Maximum length of line allow? (plink2::kMaxLongLine)
3. The size of the buffer? I guess that would be plink2::kMaxLongLine + plink2::kDecompressChunkSize if we don't have the global memory pool size? Or should that preferrably be a different number?
4. Number of thread use for decompress
5. Not sure what this is, only know that it is a textFile pointer and can be a nullptr
6. The linebuf storage
7. The initialized plink2::TextStream
Is that correct? Sorry for the troubles and thank you for your library.