pub trait XofReader {
// Required method
fn read(&mut self, buffer: &mut [u8]);
// Provided method
fn read_boxed(&mut self, n: usize) -> Box<[u8], Global> { ... }
}
Expand description
Trait for reader types which are used to extract extendable output from a XOF (extendable-output function) result.