My exams were over, I now have to turn my attention back to Director engine. I continued to work 5 days ago. And next things have emerged:
Little/Big Endian
Starting from Director 4, RIFX containers can have little-endian byte order, specifically for this, regular ReadStream was amended to ReadStreamEndian and now engine can work with both orders. In so doing, byte order is determined by first tag (“RIFX” or “XFIR”)