BrotliEncoderAttachPreparedDictionary

Function BrotliEncoderAttachPreparedDictionary 

Source
pub unsafe extern "C" fn BrotliEncoderAttachPreparedDictionary(
    state: *mut BrotliEncoderState,
    dictionary: *const BrotliEncoderPreparedDictionary,
) -> BROTLI_BOOL
Expand description

Attaches a prepared dictionary of any type to the encoder. Can be used multiple times to attach multiple dictionaries. The dictionary type was determined by BrotliEncoderPrepareDictionary. Multiple raw prefix dictionaries and/or max 1 serialized dictionary with custom words can be attached.

@returns ::BROTLI_FALSE in case of error @returns ::BROTLI_TRUE otherwise