public void WriteTo(mwg.File.Bytes bin) { bin.WriteFourcc(this.type); bin.WriteUInt32(this.version); bin.WriteString(this.name); this.made.WriteTo(bin); this.lastModified.WriteTo(bin); bin.WriteString(this.annex); //this.nodes.WriteTo(bin); }
public virtual void WriteTo(mwg.File.Bytes bin) { bin.WriteFourcc(this.Type); bin.WriteString(this.name); mwg.File.Bytes bytes = new mwg.File.Bytes(); this.WriteContent(bytes); bin.Write((byte[])bytes); }
public override void WriteTo(mwg.File.Bytes bin) { bin.WriteFourcc(this.Type); bin.WriteString(this.name); bin.WriteString(this.data); }