public SNode(EStreamCode t) { __id__ = __count__++; __nodes__.Add(this); Members = new SNodeContainer(); Type = t; }
public void Parse() { try { while (!Reader.AtEnd) { EStreamCode check = (EStreamCode)Reader.ReadByte(); SNode stream = new SNode(EStreamCode.EStreamStart); if (check != EStreamCode.EStreamStart) { continue; } Streams.Add(stream); ShareInit(); Parse(stream, 1); // -1 = not sure how long this will be ShareSkip(); } } catch (EndOfFileException) { // Ignore the exception, parser has run amok! } }
public SStreamNode(EStreamCode t) : base(t) { }
public SNode(SNode source) { Members = new SNodeContainer(source.Members); Type = source.Type; }