Yes, the idea of wrappers that reinterpret or convert makes sense.

On Friday, September 16, 2016 9:29:33 AM CDT Páll Haraldsson wrote:
> type Color
>     r::Uint8
>     g::Uint8
>     b::Uint8
>     a::Uint8

RGBA{U8} is bitwise identical to this, so you can use reinterpret as needed.

--Tim

Reply via email to