示例#1
0
        public static CAllIterationList Read(BinaryReader reader)
        {
            CAllIterationList obj = new CAllIterationList();
            var numElements       = reader.ReadInt32();

            for (var i = 0; i < numElements; i++)
            {
                obj.Lists.Add(CMostlyConsecutiveIntSet.Read(reader));
            }
            return(obj);
        }
示例#2
0
            public static CMostlyConsecutiveIntSet Read(BinaryReader reader)
            {
                CMostlyConsecutiveIntSet newObj = new CMostlyConsecutiveIntSet();

                newObj.DatFileType = reader.ReadInt32();
                newObj.DatFileId   = reader.ReadInt32();
                newObj.Ints.Add(reader.ReadInt32());
                newObj.Ints.Add(reader.ReadInt32());
                newObj.Sorted = reader.ReadBoolean();
                reader.Align();
                return(newObj);
            }