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

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

            count.Write(file);

            base.Write(file);
        }
예제 #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);
            }
        }
예제 #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);
            }
        }