From C to VB.net

  • Thread starter Thread starter Fabio
  • Start date Start date
F

Fabio

Hi all,

Someone can convert this code to VB.net


int HilBcc (int bcc, char *s, int len)
{
int i;

for (i = 0; i < len; i++)
{
bcc ^= s;
}
return(bcc);
}


thanks in advance
 
Fabio said:
Hi all,

Someone can convert this code to VB.net


int HilBcc (int bcc, char *s, int len)
{
int i;

for (i = 0; i < len; i++)
{
bcc ^= s;
}
return(bcc);
}


Function HilBcc(ByVal bcc As Integer, ByVal s() As Byte) As Integer
For Each b As Byte In s
bcc = bcc Xor b
Next
Return bcc
End Function

David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top