encoding {string} The character encoding the StringDecoder will use. Defaults to 'utf8'. Creates a new StringDecoder instance.