private void ReadRawTextfile() { PkgFile pkgFile = Calculation.Hash2File(this._d2TextParam.EngFileHash); byte[] buffer = new PkgExtract().ToBuffer(pkgFile); this._d2TextMs = new MemoryStream(buffer); }
public VoiceLines(string filename) { this._pkgFile = new PkgFile(filename); byte[] buffer = new PkgExtract().ToBuffer(this._pkgFile); this._vcms = new MemoryStream(buffer); this.StartProcess(); this._vcms.Close(); }
public VoiceLines(uint voiceCollectionHash) { this._pkgFile = new PkgFile(voiceCollectionHash); byte[] buffer = new PkgExtract().ToBuffer(this._pkgFile); this._vcms = new MemoryStream(buffer); this.StartProcess(); this._vcms.Close(); }