public void SaveVer1(IMarkerFileContentVer1 content) { _writer.BaseStream.SetLength(0); SaveFileHeader(content); CommonInfosSectionSaver.Save(_writer, content); MarkerInfosSectionSaver.Save(_writer, content); _writer.Flush(); }
public void SaveVer1(IHeaderFileContentVer1 content) { _writer.BaseStream.SetLength(0); SaveFileHeader(content); CommonInfosSectionSaver.Save(_writer, content); BinaryInfosSectionSaver.Save(_writer, content); ChannelInfosSectionSaver.Save(_writer, content); CoordinatesSectionSaver.Save(_writer, content); CommentSectionSaver.Save(_writer, content); _writer.Flush(); }