Example #1
0
        public override void Write(BinaryWriter file)
        {
            base.Write(file);

            buffername.Write(file);
            count.Write(file);
            unk.Write(file);
            buffer.Write(file);
        }
Example #2
0
        public override void Write(BinaryWriter file)
        {
            CDynamicInt count = new CDynamicInt(cr2w, null, "")
            {
                val = elements.Count
            };

            count.Write(file);

            base.Write(file);
        }
Example #3
0
        public override void Write(BinaryWriter file)
        {
            CDynamicInt count = new CDynamicInt(cr2w);

            count.val = elements.Count;
            count.Write(file);

            foreach (var element in elements)
            {
                element.Write(file);
            }
        }
Example #4
0
        public override void Write(BinaryWriter file)
        {
            base.Write(file);

            if (buffername != null)
            {
                buffername.Write(file);
            }
            if (count != null)
            {
                count.Write(file);
            }
            if (buffername != null)
            {
                unk.Write(file);
            }
            if (buffer != null)
            {
                buffer.Write(file);
            }
        }