In some applications, data in hexadecimal format is often used. At present, we can only set the field as string type to realize input in hexadecimal format. However, this method has great drawbacks, such as the inability to detect data, and the need to make complex changes when generating code.