public BitReader(bool[] input, int bitCount)
 {
     Bits    = new FBitArray(input);
     LastBit = bitCount;
 }
        /// <summary>
        /// Initializes a new instance of the BitReader class based on the specified bool[].
        /// </summary>
        /// <param name="input">The input bool[].</param>

        public BitReader(bool[] input)
        {
            Bits    = new FBitArray(input);
            LastBit = Bits.Length;
        }