public Yaz0File(FileBase file) : base(file.GetBuffer()) { Yaz0.Decompress(ref mBuffer); mSize = mBuffer.Length; mOriginalFile = file; mOriginalFile.Release(); }
public override void Save() { byte[] buf = Yaz0.Compress(mBuffer); if (mOriginalFile != null) { mOriginalFile.SetBuffer(buf); mOriginalFile.Save(); mOriginalFile.Release(); } }