async-compression icon indicating copy to clipboard operation
async-compression copied to clipboard

Way to finish compression without closing/shutdown of the underlying `AsyncWrite`

Open jakubdabek opened this issue 3 years ago • 1 comments

Right now there is only into_inner which doesn't finalize the en/decoder's job, and close/shutdown passes to the writer it is wrapping, which is sometimes undesirable.

jakubdabek avatar Mar 09 '22 12:03 jakubdabek

@Nemo157 I assume you wouldn't want to change the semantics of the current into_inner() implementations, so do you have any preference for the naming of a new one?

into_inner_finish() finish_and_into_inner() etc.

Majored avatar Apr 16 '22 16:04 Majored