Skip to main content

create

Function create 

Source
pub fn create(
    data: &[u8],
    name: &str,
    chunk_size: u64,
) -> Result<(Manifest, Vec<Vec<u8>>), ManifestError>
Expand description

Splits data into chunks of chunk_size bytes and builds its manifest, created now; returns it with the chunks in order.