public override void ReadFrom(mwg.File.Bytes bin) { this.name = bin.ReadString(); this.data = bin.ReadByteArray(); }
//TODO:暗号化・圧縮→他に圧縮暗号化クラスを作成して呼び出す //読込・保存 public virtual void ReadFrom(mwg.File.Bytes bin) { this.name = bin.ReadString(); this.content = bin.ReadByteArray(); this.isOpened = false; }