ps-ecc 0.1.0-9

Generates Reed-Solomon error correction codes.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::ops::Deref;

use crate::Codeword;

impl Deref for Codeword<'_> {
    type Target = [u8];

    fn deref(&self) -> &Self::Target {
        &self.codeword[self.range.clone()]
    }
}