Encodes a String s with the configured Encoding
s
Returns the encoded String as list of bytes
List<int> encodeString(String s) { return _stringEncoder.encode(s); }