This interface represents an encoder that is used to turn characters into potentially multiple bytes.