FixedBytes.fromHex constructor

FixedBytes.fromHex(
  1. String hexBytes,
  2. int length
)

Constructs a FixedBytes object from a hexadecimal string and length for validate.

Implementation

FixedBytes.fromHex(String hexBytes, int length)
    : data = AdaTransactionUtils.validateFixeHexByteslength(
          hexBytes: hexBytes, length: length);