Skip to main content

fetch_recv

Function fetch_recv 

Source
pub fn fetch_recv(handle: u32) -> FetchChunk
Expand description

Poll the next body chunk as an owned Vec<u8>.

Chunks larger than 64 KiB are read in 64 KiB slices; call fetch_recv repeatedly to drain the full network chunk.