public void computeECC ( GrowQueue_I8 input , GrowQueue_I8 output ) { int N = generator . size - 1 ; input . extend ( input . size + N ) ; Arrays . fill ( input . data , input . size - N , input . size , ( byte ) 0 ) ; math . polyDivide ( input , generator , tmp0 , output ) ; input . size -= N ; }
Given the input message compute the error correction code for it