/// Send all bytes in the current buffer to the compressor.
///
/// If `is_last` is `true`, the message sent to the compressor will also have the `is_last` true flag set
/// and the compressor will finish the BGZF stream.
///
/// If `is_last` is not true then only full block will be sent. If `is_last` is true, an incomplete block may be set
/// as the final block.
Send all bytes in the current buffer to the compressor.

If `is_last` is not true then only full block will be sent. If `is_last` is true, an incomplete block may be set
as the final block.
Send all bytes in the current buffer to the compressor . If ` is_last ` is not true then only full block will be sent . If ` is_last ` is true an incomplete block may be set as the final block .
fn flush_bytes(&mut self, is_last: bool) -> std::io::Result<()> {
        if is_last || self.buffer_full() {
            self.send_block(is_last)?;
        }
        Ok(())
    }
fn flush_bytes ( & mut self , is_last : bool ) -> std :: io :: Result < ( ) > { if is_last || self . buffer_full ( ) { self . send_block ( is_last ) ? ; } Ok ( ( ) ) }
Send all bytes in the current buffer to the compressor.
Send all bytes in the current buffer to the compressor .
&mut self
is_last
bool