I have many univ.Integer(), but would like to print all of them in hex, which are easy to related to the decoding of substrate.
How can I do it ?
one such example is
namedtype.NamedType('vendor-id', univ.Integer())
namedtype.NamedType('device-id', univ.Integer())
namedtype.NamedType('subven-id', univ.Integer())
namedtype.NamedType('subsys-id', univ.Integer())
any options to pretty print, which will convert all integer to hex ? or subcalss the univ.Integer for some display tricks ?