Exemple #1
0
        public CLIM(byte[] Data)
        {
            EndianBinaryReader er = new EndianBinaryReader(new MemoryStream(Data), Endianness.LittleEndian);

            er.BaseStream.Position = Data.Length - 0x28;
            try
            {
                Header = new CLIMHeader(er);
                Image  = new imag(er);
                er.BaseStream.Position = 0;
                this.Data = er.ReadBytes((int)Image.DataLength);
            }
            finally
            {
                er.Close();
            }
        }
Exemple #2
0
 public CLIM()
 {
     Data   = new byte[0];
     Header = new CLIMHeader();
     Image  = new imag();
 }