Skip to content

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.

Iterable<Input>

TrainDictionaryOptions

Uint8Array

The dictionary.

An error with an ErrorCode as code.