Hex dumping utility function for Go.