The OTAcast decoder
Return the total number of bytes that with this decoder spans.
Configure the decoder with the given parameters. This is useful for reusing an existing coder. Note that the reconfiguration always implies a reset, so the coder will be in a clean state after this operation.
- param width
- The width of the encoding, i.e., now many symbols are combined for each encoded symbol.
- param block_bytes
- The size of the block in bytes.
- param symbol_bytes
- The size of a symbol in bytes.
Feed a coded symbol to the decoder.
symbol_bytesbytes in size.
Return True if the decoder is complete
Return a value between 0 and 100, representing the decoding progress.
Return the rank of this decoder.
Reset the state of the decoder.
Set the buffer where the decoded symbols should be stored.
Return the size in bytes per symbol supported by this decoder.
Return the number of symbols supported by this decoder.
Return the symbols storage bytearray.
Return the width of the encoding i.e. now many symbols are combined for each encoded symbol.