Hello. I have the following function written in pseudo code. I think the pseudo code is more C than java and my C has about 10 years of rust on it. Can anyone help me decipher it?

UINT function(BYTE* header) 
{
    UINT length;

    header = header + 1;
    length = ((UINT16) header[0]) OR ((UINT16) header[1] << 8);

    return length;
}
Re: Converting Pseudo code to java 80 80

Looks more like C to me, definitely not Java. Try the C forum.

Re: Converting Pseudo code to java 80 80

Thanks I will do that.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.