public override void Write(BinaryWriter file) { base.Write(file); buffername.Write(file); count.Write(file); unk.Write(file); buffer.Write(file); }
public override void Write(BinaryWriter file) { CDynamicInt count = new CDynamicInt(cr2w, null, "") { val = elements.Count }; count.Write(file); base.Write(file); }
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); } }
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); } }