private static RGBA getRGBA(byte[] msg, int index) { return new RGBA(msg[index], msg[index + 1], msg[index + 2], msg[index + 3]); }