Function filecoin_proofs::pieces::sum_piece_bytes_with_alignment
source ยท pub fn sum_piece_bytes_with_alignment(
pieces: &[UnpaddedBytesAmount],
) -> UnpaddedBytesAmount
Expand description
Given a list of pieces, sum the number of bytes taken by those pieces in that order.