FEAT: Add TO-HEX native support.

TESTS: Add tests for TO-HEX native.
Merge pull request #783 from qtxie/to-hex-native

FEAT: Add TO-HEX native support.