Пример #1
0
            public bool ReadFile(ArraySegment <byte> input)
            {
                var offs = input.Offset;

                id = VXL.ReadCString(input, 16);

                LimbNumber = BitConverter.ToUInt32(input.Array, offs + 16);
                unknown1   = BitConverter.ToUInt32(input.Array, offs + 20);
                unknown2   = input.Array[offs + 24];

                return(true);
            }
Пример #2
0
            public bool ReadFile(ArraySegment <byte> input)
            {
                var offs = input.Offset;

                id = VXL.ReadCString(input, 16);

                PaletteCount = BitConverter.ToUInt32(input.Array, offs + 16);
                HeaderCount  = BitConverter.ToUInt32(input.Array, offs + 20);
                TailerCount  = BitConverter.ToUInt32(input.Array, offs + 24);
                BodySize     = BitConverter.ToUInt32(input.Array, offs + 28);

                return(true);
            }