Exemple #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)));
        }
Exemple #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);
        }
Exemple #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;
        }
Exemple #4
0
 public virtual void Clear()
 {
     Info = null;
 }
Exemple #5
0
 public virtual void Clear()
 {
     Info = null;
 }