public GFFFieldFlags(BinaryReader reader)
        {
            _id = (GFFFIELDTYPE)reader.ReadUInt16();
            ushort flags = reader.ReadUInt16();

            _isList = (flags & (ushort)Bit16.one) != 0;
            _isStruct = (flags & (ushort)Bit16.two) != 0;
            _isReference = (flags & (ushort)Bit16.three) != 0;
        }
Example #2
0
        public GFFFieldFlags(BinaryReader reader)
        {
            _id = (GFFFIELDTYPE)reader.ReadUInt16();
            ushort flags = reader.ReadUInt16();

            _isList      = (flags & (ushort)Bit16.one) != 0;
            _isStruct    = (flags & (ushort)Bit16.two) != 0;
            _isReference = (flags & (ushort)Bit16.three) != 0;
        }