有真本事的进来。。闲人免进。。。C转化C#的小代码。
能不能有人回答一下。
static void MYFUNCTION(unsigned char * pcs, short * pwd, int len, unsigned char byPmo)
{
int i;
if(pcs==0 ¦ ¦ pwd==0 ¦ ¦ len <=0) return;
for(i=0; i <len; i++,pcs++,pwd++)
{
*pwd = (short)(((*pcs-128) < <byPmo));
}
return;
}
写成C#怎么写?