Add stubs for base32hex codec
Minor changes
Use type synonym for encoded data