On Aug 28, 7:46 pm, JKid314159 <[email protected]> wrote:
> hexadecimal representation of a number.
>
> Hi:
>
> So the following code
>
> value & 0xfff
>
> means convert a single byte b to a 4-char
> hex string with possible leading zero.
No. It performs a bitwise AND operation on the value.
See: http://java.sun.com/docs/books/tutorial/java/nutsandbolts/op3.html
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---