private static int getMinimalBitOffset(DataType baseDataType, int bitSize,
			int bitOffsetWithinBaseType) {
		if (bitOffsetWithinBaseType < 0) {
			return 0;
		}
		// assumes little endian packing (lsb first)
		return bitOffsetWithinBaseType % 8;
	}
Construct a PDB bitfield (not intended for direct use by DataTypeManager)
@param baseDataType fielfield base datatype cloned for target datatype manager
@param bitSize bitfield size in bits
@param bitOffsetWithinBaseType bit offset within baseDataType or -1 if unknown
@throws InvalidDataTypeException if invalid bitfield parameters are specified
Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb/PdbBitField.java