trainDictionarySync
trainDictionarySync(
samples,options?):Uint8Array
Defined in: next/api.d.ts:381
Train a zstd dictionary from samples, as trainDictionary does, on
the calling thread.
Parameters
Section titled “Parameters”samples
Section titled “samples”Iterable<Input>
options?
Section titled “options?”Returns
Section titled “Returns”Uint8Array
The dictionary.
Throws
Section titled “Throws”An error with an ErrorCode as code.