Struct reed_solomon_16::EncoderResult [−][src]
pub struct EncoderResult<'a> { /* fields omitted */ }
Expand description
Result of encoding. Contains the generated recovery shards.
This struct is created by ReedSolomonEncoder::encode
and RateEncoder::encode
.
Implementations
Returns recovery shard with given index
or None
if index >= recovery_count
.
Recovery shards have indexes 0..recovery_count
and these same indexes must be used when decoding.
Returns iterator over all recovery shards ordered by their indexes.
Recovery shards have indexes 0..recovery_count
and these same indexes must be used when decoding.