Closed sharkLoc closed 5 months ago
I did a test but dose not work
I see; thanks for the follow up. This is missing from the FASTA index writer. It's now added in ce7e5879a5a4eadfc8a73de0f8d29a042df8612a.
Do note that it's common for buffered writers to best-effort flush and close on drop, which may be a usable workaround.
Use
Writer::get_mut
to the get the underlying writer that implementsstd::io::Write
, which has a flush method, e.g.,