uint8ListToHex function

String uint8ListToHex(
  1. Uint8List bytes
)

Encode an Uint8List into an hexadecimal string.

Implementation

String uint8ListToHex(Uint8List bytes) {
  return Base16Encoder.instance.encode(Uint8List.fromList(bytes));
}