14 requires(std::is_integral_v<T> || std::is_enum_v<T>)
15 T get(ushort data)
const {
16 return static_cast<T
>((data >> (mEndBit - mNumBits + 1)) & ((1 << mNumBits) - 1));
22 ::ll::TypedStorage<4, 4, uint> mVariationCount;
23 ::ll::TypedStorage<4, 4, uint> mNumBits;
24 ::ll::TypedStorage<4, 4, uint> mEndBit;
25 ::ll::TypedStorage<4, 4, uint> mMask;
26 ::ll::TypedStorage<8, 8, ::gsl::not_null<::BlockState const*>> mState;
33 _trySet(ushort data, uint value, ::std::vector<::std::unique_ptr<::Block>>
const& blockPermutations)
const;