Skip to main content

split

Function split 

Source
pub fn split(payload: &[u8], chunk_size: usize) -> (Blob, Vec<Chunk<'_>>)
Expand description

Split a payload into chunks of chunk_size; returns the blob and the chunks.