Re: Logical Operation With byte[] -- What is it doing?



Roedy Green wrote:

> On Thu, 22 Dec 2005 23:28:44 -0500, Hal Vaughan
> <hal@xxxxxxxxxxxxxxxxxxxx> wrote, quoted or indirectly quoted someone
> who said :
>
>> a = bRawData[i] & 0xFF;
>
> see http://mindprod.com/jgloss/unsigned.html

So, if I understand correctly, that is transferring the byte to the variable
a as an unsigned integer.

But it does leave bRawData[i] and bRawData unaffected, right? So if a is
not used for anything else, the line still serves no purpose, right?

Hal
.



Relevant Pages

  • Re: Low Traffic Groups for Jan - Oct 2005
    ... Free.uk still serves a purpose for users who couldn't get a uk group. ... WSB ... Prev by Date: ...
    (uk.net.news.config)
  • Re: Low Traffic Groups for Jan - Oct 2005
    ... > Jaques d'Alltrades wrote: ... >>> Free.uk still serves a purpose for users who couldn't get a uk group. ... Prev by Date: ...
    (uk.net.news.config)
  • Re: Low Traffic Groups for Jan - Oct 2005
    ... >Not all of free.* is a sewer Chris. ... >Free.uk still serves a purpose for users who couldn't get a uk group. ... Prev by Date: ...
    (uk.net.news.config)
  • Re: Low Traffic Groups for Jan - Oct 2005
    ... > Not all of free.* is a sewer Chris. ... > Free.uk still serves a purpose for users who couldn't get a uk group. ... Prev by Date: ...
    (uk.net.news.config)
  • Re: differences between chimps and humans
    ... They must serve some purpose, ... everything you've mentioned serves a purpose. ... recorded in the organism's genetics as per its preference to hide in that ... You know..that's exactly the view I have of immortality as it relates to ...
    (talk.origins)