For AI agents: the complete documentation index is available at https://canary.gukhanmun.org/llms.txt, the full documentation bundle is available at https://canary.gukhanmun.org/llms-full.txt, and this page is available as Markdown at https://canary.gukhanmun.org/api/js/functions/_gukhanmun_opendict-fst.opendictFstBytes.md.

Function: opendictFstBytes()

opendictFstBytes(url): Promise<Uint8Array<ArrayBufferLike>>

Loads an Open Korean Dictionary FST binary as raw bytes.

A file: URL is read from disk with node:fs/promises when running in Node.js, Deno, or Bun; in other runtimes (e.g. browsers) and for all other schemes the bytes are retrieved with fetch.

Parameters

url

URL

Location of the FST binary to read.

Returns

Promise<Uint8Array<ArrayBufferLike>>

The FST binary as a Uint8Array.