utf8Decode static method

String utf8Decode(
  1. Uint8List b
)

UTF-8 decode helper.

HINT: Use only for non-secret, small metadata; avoid for large payloads.

Implementation

static String utf8Decode(Uint8List b) => utf8.decode(b, allowMalformed: false);