Skip to main content

sync_split

Function sync_split 

Source
pub fn sync_split<const BODY_SIZE: usize>(
    data: &[u8],
) -> Result<(ChunkAddress, MemoryStore<BODY_SIZE>)>
Expand description

Split data into chunks synchronously, returning root address and chunk store.

Uses SyncParallelSplitter for best performance on in-memory data.