()
| 25649 | return ptr; |
| 25650 | } |
| 25651 | free() { |
| 25652 | if (wasm == null) throw new Error("tiktoken: WASM binary has not been propery initialized."); |
| 25653 | const ptr = this.__destroy_into_raw(); |
| 25654 | wasm.__wbg_tiktoken_free(ptr); |
| 25655 | } |
| 25656 | /** |
| 25657 | * @param {string} text |
| 25658 | * @param {any} allowed_special |
no test coverage detected