code: public static void bits2prm_ld8k(
  	 short bits[], int bitss,          /* input : serial bits (80)                       */
  	 int   prm[], int ps            /* output: decoded parameters (11 parameters)     */
  	)
  	{
  	   short i;
  	   for (i = 0; i < LD8KConstants.PRM_SIZE; i++)
  	     {
  	        prm[i+ps] = bin2int(TabLD8k.bitsno[i], bits,bitss);
  	        bitss  += TabLD8k.bitsno[i];
  	     }
  
  	}
docs: /*----------------------------------------------------------------------------
  bits2prm_ld8k - converts serial received bits to  encoder parameter vector
  ----------------------------------------------------------------------------