uint8ListToHex function

String uint8ListToHex(
  1. Uint8List bytes
)

Encode an Uint8List into an hexadecimal string @param {Uint8List} bytes Uint8List

Implementation

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