Exemple #1
0
        public Unum(UnumEnvironment environment, BitMask bits)
        {
            _environment = environment;

            // To be sure that UnumBits has the same size as the environment. Excess bits will be truncated.
            UnumBits = BitMask.FromImmutableArray(bits.Segments, _environment.Size);
        }