decode method

Uint8List decode(
  1. String encoded
)
override

Decodes encoded.

The input is decoded as if by decoder.convert.

The returned Uint8List contains exactly the decoded bytes, so the Uint8List.length is precisely the number of decoded bytes. The Uint8List.buffer may be larger than the decoded bytes.

Implementation

Uint8List decode(String encoded) => decoder.convert(encoded);