コード例 #1
0
 /// <summary>
 /// See <see cref="IDisposable.Dispose" /> for more information.
 /// </summary>
 public void Dispose()
 {
     if (_stream != null)
     {
         _stream.Close();
         _stream = null;
     }
     _fileName = null;
     _dataMap  = null;
     GC.SuppressFinalize(this);
 }
コード例 #2
0
 void ReInitialize()
 {
     _dataMap = new DataMap();
     _dataMap.AddFirst(new FileDataBlock(0, _stream.Length));
     _totalLength = _stream.Length;
 }
コード例 #3
0
 /// <summary>
 /// See <see cref="IDisposable.Dispose" /> for more information.
 /// </summary>
 public void Dispose()
 {
     if (_stream != null)
     {
         _stream.Close();
         _stream = null;
     }
     _fileName = null;
     _dataMap = null;
     GC.SuppressFinalize(this);
 }
コード例 #4
0
 private void ReInitialize()
 {
     this._dataMap = new DataMap();
     this._dataMap.AddFirst((DataBlock) new FileDataBlock(0L, this._stream.Length));
     this._totalLength = this._stream.Length;
 }
コード例 #5
0
ファイル: DataMap.cs プロジェクト: DMV-Jumbo/NBTExplorer
 internal Enumerator(DataMap map)
 {
     _map = map;
     _version = map._version;
     _current = null;
     _index = -1;
 }
コード例 #6
0
 void ReInitialize()
 {
     _dataMap = new DataMap();
     _dataMap.AddFirst(new FileDataBlock(0, _stream.Length));
     _totalLength = _stream.Length;
 }
コード例 #7
0
ファイル: DataMap.cs プロジェクト: robjer/tesvsnip
 internal Enumerator(DataMap map)
 {
     _map = map;
     _index = -1;
 }
コード例 #8
0
ファイル: DataMap.cs プロジェクト: jfbauer1/tesvsnip
 internal Enumerator(DataMap map)
 {
     _map   = map;
     _index = -1;
 }