Open
Description
In the documentation forFields.Number
it mentions fromhex(). It is not clear to me how I can trigger that.
I would like to convert a hex-like string (e.g. 0x7AB) to a number and check that a non-hex-like string has not been given.
Essentially, is there a built-in way to deserialise/validate a hex-like string or would I need to use Fields.Method
?