Skip to main content

append_pack_data

Function append_pack_data 

Source
pub fn append_pack_data(
    data: &[u8],
    target: &mut PackReceiveTarget<'_>,
    pending: &mut Vec<u8>,
    seen_pack: &mut bool,
) -> Result<u64>
Expand description

Append channel-1 (or raw) data, scanning for the PACK magic that may straddle chunk boundaries.