13 requires(std::is_integral_v<T> || std::is_enum_v<T>)
14 T get(ushort data)
const {
15 return static_cast<T
>((data >> (mEndBit - mNumBits + 1)) & ((1 << mNumBits) - 1));
21 ::ll::TypedStorage<4, 4, uint> mEndBit;
22 ::ll::TypedStorage<4, 4, uint> mNumBits;
23 ::ll::TypedStorage<4, 4, uint> mVariationCount;
24 ::ll::TypedStorage<4, 4, uint> mMask;
25 ::ll::TypedStorage<1, 1, bool> mInitialized;
26 ::ll::TypedStorage<8, 8, ::BlockState const*> mState;