pub fn certified_slice_count_bytes(packed: &CertifiedStreamSlice) -> CertifiedSliceResult<usize> {
    Ok(slice_count_bytes(
        &Payload::try_from(packed.payload.as_slice())?,
        &packed.certification,
    ))
}
/// Returns a deterministic byte size estimate for the provided certified slice,
/// the exact same as `UnpackedStreamSlice::try_from(packed)?.count_bytes()`. Or
/// an error, if the payload cannot be unpacked.
///
/// Workaround for not being able to implement `impl CountBytes for
/// CertifiedStreamSlice`, as both types are defined outside of the crate and
/// the implementation requires logic defined here.
Returns a deterministic byte size estimate for the provided certified slice,
the exact same as `UnpackedStreamSlice::try_from(packed)?.count_bytes()`. Or
an error, if the payload cannot be unpacked.

Workaround for not being able to implement `impl CountBytes for
CertifiedStreamSlice`, as both types are defined outside of the crate and
the implementation requires logic defined here.
Returns a deterministic byte size estimate for the provided certified slice the exact same as ` UnpackedStreamSlice :: try_from ( packed ) ? . count_bytes () ` . Or an error if the payload cannot be unpacked . Workaround for not being able to implement ` impl CountBytes for CertifiedStreamSlice ` as both types are defined outside of the crate and the implementation requires logic defined here .
pub fn certified_slice_count_bytes(packed: &CertifiedStreamSlice) -> CertifiedSliceResult<usize> {
    Ok(slice_count_bytes(
        &Payload::try_from(packed.payload.as_slice())?,
        &packed.certification,
    ))
}
pub fn certified_slice_count_bytes ( packed : & CertifiedStreamSlice ) -> CertifiedSliceResult < usize > { Ok ( slice_count_bytes ( & Payload :: try_from ( packed . payload . as_slice ( ) ) ? , & packed . certification , ) ) }
Returns a deterministic byte size estimate for the provided certified slice,
the exact same as `UnpackedStreamSlice::try_from(packed)?.count_bytes()`.
Returns a deterministic byte size estimate for the provided certified slice the exact same as ` UnpackedStreamSlice :: try_from ( packed ) ? . count_bytes () ` .
packed
&CertifiedStreamSlice
packed
&CertifiedStreamSlice