pub trait ExactLengthReader {
    fn len(&self) -> Result<u64, Error>;

    fn is_empty(&self) -> Result<bool, Error> { ... }
}
Expand description

A trait for readers, to get the exact length of a reader.

Required Methods

Get the exact length of the reader in bytes.

Provided Methods

Check whehter this extact length reader is emtpy.

Implementations on Foreign Types

Implementors