pub fn reassemble(fragments: &[Frag]) -> Result<Vec<u8>, Error>Expand description
Reassemble a complete set of fragments back into the payload they were split from.
Rejects a set with a mismatched id or n across fragments, a duplicate or out-of-range
index, or a missing piece. Buffering fragments as they trickle in, and sweeping a stream
that never completes, needs a clock this module is never given; that bookkeeping belongs to
the transport that owns tick, not here.