encode(text, add_special_tokens) {
        const ptr0 = passStringToWasm0(text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
        const len0 = WASM_VECTOR_LEN;
        const ret = wasm.tokenizerwasm_encode(this.ptr, ptr0, len0, add_special_tokens);
        return EncodingWasm.__wrap(ret);
    }
@param {string} text
@param {boolean} add_special_tokens
@returns {EncodingWasm}