A decoder receives encoding packets produced by a RaptorQ encoder (as specified by RFC 6330), and decodes the original data object (source data). The source data is divided into a fixed number of source blocks, and each source block can be decoded independently.
A decoder provides methods for parsing/reading encoding packets from various formats. The parsed/read encoding packets must then be forwarded to the right {@link SourceBlockDecoder} object, which takes care of decoding aspecific source block. These decoder objects are accessed via the method {@link #sourceBlock(int)}.
The number of source blocks, the length of the source data and other parameters are specified as the FEC parameters. The method {@link #fecParameters()} provides the associated parameters to the decoder.
|
|