I agree, or even better they could add an helper function to do just that, to be called only if needed.Keya wrote: So I too would prefer access to the "raw" numeric result - if I need to display it as hex that's easy to do myself. Just give me the buffer address, i know how many bits i need to read. Don't force the hex string on me, i usually don't need it in that processed format.
But it is probably overkill, you can do it by yourself.
A similar problem is there with Maps. The key must be a string.
Often the key is a number, and you have to convert it to use the Map functions.