/// Compresstimate the seekable stream `input` from the current position to the
/// end.
///
/// This function determines the length of the stream by seeking to the end.
Compresstimate the seekable stream `input` from the current position to the
end.

This function determines the length of the stream by seeking to the end.
Compresstimate the seekable stream ` input ` from the current position to the end . This function determines the length of the stream by seeking to the end .
pub fn compresstimate<P: Read + Seek>(&self, mut input: P) -> io::Result<f32> {
        // In future consider stream_len() and stream_position()
        // https://github.com/rust-lang/rust/issues/59359
        let pos = input.seek(SeekFrom::Current(0))?;
        let len = input.seek(SeekFrom::End(0))?;
        input.seek(SeekFrom::Start(pos))?;
        self.compresstimate_len(&mut input, len - pos)
    }
pub fn compresstimate < P : Read + Seek > ( & self , mut input : P ) -> io :: Result < f32 > { // In future consider stream_len() and stream_position() // https://github.com/rust-lang/rust/issues/59359 let pos = input . seek ( SeekFrom :: Current ( 0 ) ) ? ; let len = input . seek ( SeekFrom :: End ( 0 ) ) ? ; input . seek ( SeekFrom :: Start ( pos ) ) ? ; self . compresstimate_len ( & mut input , len - pos ) }
Compresstimate the seekable stream `input` from the current position to the
end.
Compresstimate the seekable stream ` input ` from the current position to the end .
&self
input
P