public XmlTagWriter(Stream stream) { XmlWriterSettings settings; settings = new XmlWriterSettings { Indent = true, Encoding = Encoding.UTF8 }; _state = new TagState(FileAccess.Write); _writer = XmlWriter.Create(stream, settings); }
public BinaryTagWriter(Stream stream) { _state = new TagState(FileAccess.Write); _stream = stream; }
/// <summary> /// Constructor. <see cref="XmlWriter"/> /// </summary> /// <param name="writer">The writer.</param> public XmlTagWriter(XmlWriter writer) { _state = new TagState(FileAccess.Write); _writer = writer; }
public TR2(Stream stream) { _stream = stream; _state = new TagState(FileAccess.Read); }