public DataTypeInstance getStrlenDataType() {
		DataType dt = useLEB128()
				? UnsignedLeb128DataType.dataType
				: AbstractIntegerDataType.getUnsignedDataType(2, null);

		return DataTypeInstance.getDataTypeInstance(dt, strlenLen, false);
	}
Returns the data type that is needed to hold the string length field.

@return data type needed to hold the string length field
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/rtti/GoVarlenString.java