Skip to main content

FecDecoder

Trait FecDecoder 

Source
pub trait FecDecoder {
    type Error;

    // Required method
    fn decode(&self, data: &mut [u8]) -> Result<usize, Self::Error>;
}
Expand description

Forward error-correction decoder.

Required Associated Types§

Source

type Error

Error type for decoding operations.

Required Methods§

Source

fn decode(&self, data: &mut [u8]) -> Result<usize, Self::Error>

Decodes and corrects data in-place.

Implementors§