crblib/lbitio.c
/*
 *  GetPos returns the current BII position, in byte
 *  does not modify the BII at all
 *
 */
GetPos returns the current BII position, in byte
does not modify the BII at all
GetPos returns the current BII position in byte does not modify the BII at all
long LBitIO_GetPos(struct LBitIOInfo * BII)
{
long Ret;
	Ret = (int)BII->BitArrayPtr - (int)BII->BitArray;
	if ( BII->BitsToGo < 32 ) 
	{
	long z;
		z = BII->BitsToGo;
		while ( z < 32 )
		{
		Ret++;
		z += 8;
		}
  	}
return(Ret);
}
long LBitIO_GetPos ( struct LBitIOInfo * BII ) { long Ret ; Ret = ( int ) BII -> BitArrayPtr - ( int ) BII -> BitArray ; if ( BII -> BitsToGo < 32 ) { long z ; z = BII -> BitsToGo ; while ( z < 32 ) { Ret ++ ; z += 8 ; } } return ( Ret ) ; }
GetPos returns the current BII position, in byte
  does not modify the BII at all
GetPos returns the current BII position in byte does not modify the BII at all