Esempio n. 1
0
        public ClilocInfo Lookup(BinaryReader bin)
        {
            bin.BaseStream.Seek(Offset, SeekOrigin.Begin);

            var data = new byte[Length];

            for (long i = 0; i < data.Length; i++)
            {
                data[i] = bin.ReadByte();
            }

            return(Info = new ClilocInfo(Language, Index, Encoding.UTF8.GetString(data)));
        }
Esempio n. 2
0
        public bool IsNullOrEmpty(int index)
        {
            if (!Contains(index) || _table[index] == null)
            {
                return(true);
            }

            ClilocInfo info = _table[index].Lookup(InputFile);

            if (!String.IsNullOrWhiteSpace(info.Text))
            {
                return(false);
            }

            return(true);
        }
Esempio n. 3
0
        public ClilocInfo Lookup(BinaryReader bin)
        {
            bin.BaseStream.Seek(Offset, SeekOrigin.Begin);

            byte[] data = new byte[Length];

            for (long i = 0; i < data.Length; i++)
            {
                data[i] = bin.ReadByte();
            }

            Info = new ClilocInfo(Language, Index, Encoding.UTF8.GetString(data));
            data = null;

            return Info;
        }
Esempio n. 4
0
 public virtual void Clear()
 {
     Info = null;
 }
Esempio n. 5
0
 public virtual void Clear()
 {
     Info = null;
 }