protected override void ReadContent(Bytes bin) { this.made = new RWDateTime(bin); this.lastModified = new RWDateTime(bin); this.annex = bin.ReadString(); this.nodes = new NodeList(bin); }
protected override void ReadContent(Bytes bin) { this.made = new RWDateTime(bin); this.lastModified = new RWDateTime(bin); this.data = bin.ReadByteArray(); this.nodes = new NodeList(); this.nodes.isOnlyAttr = true; this.nodes.ReadFrom(bin); }
public void ReadFrom(mwg.File.Bytes bin) { //bin.R(ref this.type).R(ref this.version).R(ref this.name).R(ref this.made); this.type = bin.ReadFourcc(); this.version = bin.ReadUInt32(); this.name = bin.ReadString(); this.made = new RWDateTime(bin); this.lastModified = new RWDateTime(bin); this.annex = bin.ReadString(); }
// // constructor // public mwgIff3(string type, uint version, string name) { this.type = type; this.version = version; this.name = name; this.made = new RWDateTime(); this.lastModified = new RWDateTime(); this.annex = ""; this.nodes = new NodeList(); }