The `encoding` param type is `{string=}`; using `null` throw a compiler error.