zstd_safe

Function train_from_buffer

Source
pub fn train_from_buffer<C: WriteBuf + ?Sized>(
    dict_buffer: &mut C,
    samples_buffer: &[u8],
    samples_sizes: &[usize],
) -> SafeResult
Expand description

Wraps the ZDICT_trainFromBuffer() function.