Encodes input.
input
The input is encoded as if by encoder.convert.
encoder.convert
@override Uint8List encode(String source) => latin1Codec.encode(source);