WriteHeader() 공개 메소드

public WriteHeader ( AbstractBufferedWriter writer ) : void
writer BTDB.StreamLayer.AbstractBufferedWriter
리턴 void
예제 #1
0
        void StartNewPureValueFile()
        {
            _pureValueFile       = _fileCollection.AddFile("hpv");
            _pureValueFileWriter = _pureValueFile.GetAppenderWriter();
            var fileInfo = new FilePureValuesWithId(_subDBId, _fileCollection.NextGeneration(), _fileCollection.Guid);

            fileInfo.WriteHeader(_pureValueFileWriter);
            _fileCollection.SetInfo(_pureValueFile.Index, fileInfo);
        }
예제 #2
0
 void StartNewPureValueFile()
 {
     _pureValueFile = _fileCollection.AddFile("hpv");
     _pureValueFileWriter = _pureValueFile.GetAppenderWriter();
     var fileInfo = new FilePureValuesWithId(_subDBId, _fileCollection.NextGeneration());
     fileInfo.WriteHeader(_pureValueFileWriter);
     _fileCollection.SetInfo(_pureValueFile.Index, fileInfo);
 }