Skip to content

How to use read_line with bufread::MultiGzDecoder? #412

Answered by jongiddy
Crispy13 asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, this is the correct way. The first BufReader wraps the input data read from the file, allowing bufread::GzDecoder to call the BufRead methods on the compressed data. The second BufReader wraps the output data, allowing you to call the BufRead methods on the decompressed data.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Crispy13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants