Decodes the input buffer into a hex string.
The buffer to decode.
An object containing a decode function which returns the decoded hex string.
Encodes the input data into a Uint8Array.
The data to encode, expected to be a '0x' prefixed even sized hex string.
Context string for error handling.
An object containing an encode function which returns the encoded Uint8Array.
Represents a scalar kind with hex blob functionality. This class extends the ScalarKind class.
Remarks
A hex blob is a hex string that is prefixed with '0x' and has even length.