Skip to main content

XofReader

Trait XofReader 

Source
pub trait XofReader {
    // Required method
    fn read(&mut self, buffer: &mut [u8]);
}
Expand description

Trait for reader types which are used to extract extendable output from a XOF (extendable-output function) result.

Required Methods§

Source

fn read(&mut self, buffer: &mut [u8])

Read output into the buffer. Can be called an unlimited number of times.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§