Value to encode, should be one of: Uint8Array, bigint, boolean, string, or a safe integer number.
Identifier used in error messages.
Bytes representation of the value.
CashAssemblyNumberNotSafeIntegerError When a number is not a safe integer.
CashAssemblyUnsupportedValueTypeError When the value type cannot be resolved.
Converts a value into bytes representation.