pub struct SourceBlockDecoder { /* private fields */ }Expand description
A struct that represents a source block decoder that uses Raptor codes.
Implementations§
Source§impl SourceBlockDecoder
impl SourceBlockDecoder
Sourcepub fn push_encoding_symbol(&mut self, encoding_symbol: &[u8], esi: u32)
pub fn push_encoding_symbol(&mut self, encoding_symbol: &[u8], esi: u32)
Push an encoding symbol to the decoder
§Arguments
encoding_symbol- A slice of u8 numbers representing the encoding symbol dataesi- Encoding symbol identifier (ESI)
Sourcepub fn fully_specified(&self) -> bool
pub fn fully_specified(&self) -> bool
Return true when the block can be fully decoded
Auto Trait Implementations§
impl Freeze for SourceBlockDecoder
impl RefUnwindSafe for SourceBlockDecoder
impl Send for SourceBlockDecoder
impl Sync for SourceBlockDecoder
impl Unpin for SourceBlockDecoder
impl UnwindSafe for SourceBlockDecoder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more