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 crate::{Codeword, Cow};

impl<'lt> Codeword<'lt> {
    /// Consumes the view and returns the full underlying buffer. Depending
    /// on the operation that produced this codeword, the buffer may carry
    /// parity and header bytes in addition to the message.
    #[must_use]
    pub fn into_inner(self) -> Cow<'lt> {
        self.codeword
    }
}