12 #ifndef ROC_FEC_IBLOCK_DECODER_H_
13 #define ROC_FEC_IBLOCK_DECODER_H_
34 virtual bool begin(
size_t sblen,
size_t rblen,
size_t payload_size) = 0;
53 virtual void end() = 0;
FEC block decoder interface.
virtual core::Slice< uint8_t > repair(size_t index)=0
Repair source packet buffer.
virtual size_t max_block_length() const =0
Get the maximum number of encoding symbols for the scheme being used.
virtual bool begin(size_t sblen, size_t rblen, size_t payload_size)=0
Start block.
virtual void set(size_t index, const core::Slice< uint8_t > &buffer)=0
Store source or repair packet buffer for current block.
virtual void end()=0
Finish block.
Commonly used types and functions.