C ++ conversion for PHP [closed]

1

In the conversion of a code into languages like C ++ and others related to PHP we have to convert the direct manipulation of the pointers, in this case, what interpretation should I have about the following code:

long teste(unsigned char *lpMemIn ,unsigned char *lpMemOut, unsigned int uiBitComp,int bPartial,long Max){

    lpbData = &lpMemIn[0];

     while(lIndex < lNbrByte) {
        ...
        *(lpbData++) = ( lpbBuf[0]<<1 ) | ( lpbBuf[1]>>6 );
        ...
    }
}

Would it be the same as arr[i++] = x | y; ?

    
asked by anonymous 04.05.2017 / 19:29

0 answers