public bool Open(Stream fs) { Header = MarshalUtil.ReadStruct <IDBEHeader>(fs); SmallIcon = ImageUtil.ReadImageFromStream(fs, 24, 24, ImageUtil.PixelFormat.RGB565); LargeIcon = ImageUtil.ReadImageFromStream(fs, 48, 48, ImageUtil.PixelFormat.RGB565); return(true); }
public bool Open(Stream fs) { Header = MarshalUtil.ReadStructBE <IDBEHeader>(fs); Image = LoadImage(fs); return(true); }
public override string Publisher(Localization localization) { return(MarshalUtil.CleanInput(Encoding.BigEndianUnicode.GetString(this.Header.Descriptions[(int)localization].Publisher))); }
public override string SecondTitle(Localization localization) { return(MarshalUtil.CleanInput(Encoding.Unicode.GetString(this.Header.Descriptions[(int)localization].SecondTitle))); }