codehaus


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Color representation as rgb, int and hex


> You haven't said whether your machine is big-endian or little-endian.

Correct, it is little but I'm wondering why this isn't taking into account.
I thought a method called fromhex would imply that bytes for an integer
should be created and as that it would use the proper byte order to create it.
But it seems that it treats the string literally.
Isn't that confusing?

Eren