fromHex static method

CryptoFlow<Uint8List> fromHex(
  1. String value
)

Creates a lazy strict hexadecimal source.

Decoding occurs during run. The value must have an even number of digits and contain no prefix, separator, or whitespace.

Implementation

static CryptoFlow<Uint8List> fromHex(String value) => CryptoFlow._(
  _FlowSource('source.hex', () => CryptoBytes.decodeHex(value)),
  const [],
);