static BaseDatatypeKind getKind(int value) {
			for (BaseDatatypeKind kind : values()) {
				if (kind.id == value) {
					return kind;
				}
			}
			return NONE;
		}
Construct DB resident bitfield.  Minimal storage size and effective bit size will 
be computed based upon specified parameters. 
@param baseDataType base data type (integer/enum type or typedef to same).  This
bitfield will adopt the same datatype manager as this base type.
@param bitSize size of bit-field expressed as number of bits (0..255).  The effective 
bit size may be reduced based upon the specified base datatype size.
@param bitOffset right shift factor within storage unit when viewed as a big-endian dd
scalar value.  Based upon minimal storage bitOffset should be in the range 0 to 7.
@throws InvalidDataTypeException if invalid base datatype has been specified or an 
invalid bitSize or bitOffset has been specified
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/BitFieldDBDataType.java