pub fn extract_block_slice(content: &[u8], index: u32) -> Result<Vec<u8>>Expand description
Extract a Bao verified slice for block index of content (responder, round
2). The slice carries the block bytes plus the O(log n) BLAKE3 parent hashes
that verify it against the chunk address.
ยงErrors
Returns the underlying IO error only if the in-memory Bao extraction fails,
which cannot happen for a well-formed in-memory chunk; surfaced as a
Result rather than a panic so the responder degrades to a rejection.