public virtual void Save(Stream stream) { var writer = new DataWriter(stream, Endianess.BigEndian); if (DataSection != null) { DataSection.Write(writer); } if (DataMappingSection != null) { DataMappingSection.Write(writer); } if (DefinitionSection != null) { DefinitionSection.Write(writer); } }
public virtual void Save(Stream stream) { var writer = new DataWriter(stream, Endianess.BigEndian); if (DataSection != null) { DataSection.Write(writer); } if (DataMapSection != null) { DataMapSection.Write(writer); } if (SchemaSection != null) { SchemaSection.Write(writer); } if (STRFSection != null) { STRFSection.Write(writer); } if (STRSSection != null) { STRSSection.Write(writer); } if (STRESection != null) { STRESection.Write(writer); } if (PSIGSection != null) { PSIGSection.Write(writer); } if (CHKSSection != null) { CHKSSection.Write(writer); } }