Function binary_stream::stream_length
source · pub fn stream_length<S: Seek>(stream: &mut S) -> Result<u64>
Expand description
Get the length of a stream by seeking to the end and then restoring the previous position.
pub fn stream_length<S: Seek>(stream: &mut S) -> Result<u64>
Get the length of a stream by seeking to the end and then restoring the previous position.