# Functions

Decode decodes `bz` with the scale codec into `target`.
DecodeFromHex decodes `str` with the scale codec into `target`.
Encode encodes `value` with the scale codec with passed EncoderOptions, returning []byte.
EncodedLength returns the length of the value when encoded as a byte array.
EncodeToHex encodes `value` with the scale codec, returning a hex string (prefixed by 0x).
Eq compares the value of the input to see if there is a match.
Hex returns a hex string representation of the value (not of the encoded value).
HexDecodeString decodes bytes from a hex string.
HexEncodeToString encodes bytes to a hex string.
MustHexDecodeString panics if str cannot be decoded.

# Interfaces

Hexer interface is implemented by any type that has a Hex() function returning a string.