Function decode
Source pub fn decode<H: Hasher>(
total: u16,
min: u16,
root: &H::Digest,
chunks: Vec<Chunk<H>>,
) -> Result<Vec<u8>, Error>
Expand description
Decode data from a set of Chunks.
§Parameters
total: The total number of chunks to generate.
min: The minimum number of chunks required to decode the data.
root: The root of the bmt.
chunks: Chunks of encoded data (that can be proven against root).
§Returns