encode method

List<int> encode (String input)

Encodes input.

The input is encoded as if by encoder.convert.

Implementation

List<int> encode(String input) => encoder.convert(input);