public GeometryListSectionData(SectionHeader header, FramedStream stream) { DataSectionData data = (DataSectionData) new Section(stream).Data; GeometryCount = BitConverter.ToUInt32(data.Value, 0); Geometry = new GeometrySectionData[GeometryCount]; for (int i = 0; i < GeometryCount; ++i) { Geometry[i] = (GeometrySectionData) new Section(stream).Data; } }
public ClumpSectionData(SectionHeader header, FramedStream stream) { DataSectionData dat = (DataSectionData) new Section(stream).Data; if (dat == null) { return; } ObjectCount = BitConverter.ToUInt32(dat.Value, 0); var frameList = new Section(stream); GeometryList = (GeometryListSectionData) new Section(stream).Data; }