Skip to main content

chunk_parse

Function chunk_parse 

Source
pub async fn chunk_parse<R: PollRead + Send, W: AsyncWrite + Send + Unpin>(
    src: R,
    dst: &mut W,
    circle_hasher: &mut HmacSha256CircleHasher,
) -> Result<usize, ChunkParseError>
Expand description

chunk parse, will auto verify sha256 value for every chunk