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); }
public ES2Reader(byte[] bytes, ES2Settings settings) { this.settings = settings; this.stream = ES2Stream.Create(bytes, settings); this.reader = new BinaryReader(stream.stream); }
public ES2Writer(ES2Settings settings) { this.settings = settings; stream = ES2Stream.Create(settings, ES2Stream.Operation.Write); writer = new BinaryWriter(stream.stream); }