Beispiel #1
0
        public void StructTest(ref Core.Util.Buffer b)
        {
            b.Reset();
            b.SetAlignment(4);

            b.WriteByte(0xAA);                // 0
            b.WriteUInt(0xBBCCDDEE);          // 4
            b.WriteUShort(0xFFAA);            // 8
            b.WriteByte(0xBB);                // 10
            b.WriteULong(0xCCDDEEFFAABBCCDD); // 12
        }