pub fn prepare() -> Result<(), Error>
Initializes the shared encoding. Later calls reuse the result.
Returns Error::Internal if the encoding cannot be initialized.
Error::Internal