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

Color representation as rgb, int and hex

> No, constructing a bytes literal from hex digits implies that they
> follow the sequence in the string of digits. It's nothing to do with
> the endinanness of integers.
> ChrisA

> Why should it imply that? You're asking it to create some bytes
> from a string of hex digits -- no mention of integers. The obvious
> thing to do is to put the bytes in the order they apper in the
> string.
> Greg

@Greg, ChrisA
Agreed, as I said this came into my mind first as I saw the 
name of the method but your arguments make sense, absolutely.

Thank you