encode static method

String encode(
  1. Uint8List data
)

Encodes binary data to a hexadecimal string.

data is the raw binary data to encode.

Returns the hex-encoded string.

Implementation

static String encode(Uint8List data) {
  return coder!.encode(data);
}