public XmlTkString(IStreamReader reader) { this.xtHeader = new XmlTkHeader(reader); this.cchValue = reader.ReadUInt32(); this.rgbValue = reader.ReadBytes((int)this.cchValue * 2); }
public XmlTkBlob(IStreamReader reader) { this.xtHeader = new XmlTkHeader(reader); this.cbBlob = reader.ReadUInt32(); this.rgbBlob = reader.ReadBytes((int)this.cbBlob); }
public XmlTkDouble(IStreamReader reader) { this.xtHeader = new XmlTkHeader(reader); //unused reader.ReadBytes(4); this.dValue = reader.ReadDouble(); }
public ushort getNextXmlTkTag(IStreamReader reader) { long pos = reader.BaseStream.Position; var header = new XmlTkHeader(reader); reader.BaseStream.Position = pos; return(header.xmlTkTag); }
public XmlTkBool(IStreamReader reader) { this.xtHeader = new XmlTkHeader(reader); this.dValue = (reader.ReadByte() > 0); //unused reader.ReadByte(); }
public XmlTkDWord(IStreamReader reader) { this.xtHeader = new XmlTkHeader(reader); this.dValue = reader.ReadInt32(); }
public XmlTkStart(IStreamReader reader) { this.xtHeader = new XmlTkHeader(reader); }
public XmlTkToken(IStreamReader reader) { this.xtHeader = new XmlTkHeader(reader); this.dValue = reader.ReadUInt16(); }