bufToHex function

String bufToHex(
  1. Uint8List buf
)

Converts a buffer to a hexadecimal representation

@param {Uint8List} buf

@returns {String}

Implementation

String bufToHex(Uint8List buf) {
  return Utf8Decoder().convert(buf);
}