Exemple #1
0
 public ES2Reader(ES2Settings settings)
 {
     this.settings = settings;
     this.stream   = ES2Stream.Create(settings, ES2Stream.Operation.Read);
     this.reader   = new BinaryReader(stream.stream);
     cachedFile    = ES2Cache.GetCachedFile(settings.filenameData.filePath);
 }
Exemple #2
0
 public ES2Reader(byte[] bytes, ES2Settings settings)
 {
     this.settings = settings;
     this.stream   = ES2Stream.Create(bytes, settings);
     this.reader   = new BinaryReader(stream.stream);
 }
Exemple #3
0
 public ES2Writer(ES2Settings settings)
 {
     this.settings = settings;
     stream        = ES2Stream.Create(settings, ES2Stream.Operation.Write);
     writer        = new BinaryWriter(stream.stream);
 }