bytesToString method

String bytesToString (
  1. Uint8Buffer message
)

Converts an array of bytes to a byte string.

Implementation

static String bytesToString(typed.Uint8Buffer message) {
  final sb = StringBuffer();
  for (final b in message) {
    sb.write('<');
    sb.write(b);
    sb.write('>');
  }
  return sb.toString();
}