FLEncoder_BeginDict

Function FLEncoder_BeginDict 

Source
pub unsafe extern "C" fn FLEncoder_BeginDict(
    arg1: FLEncoder,
    reserveCount: usize,
) -> bool
Expand description

Begins writing a dictionary value to an encoder. This pushes a new state where each subsequent key and value written are added to the dictionary, until FLEncoder_EndDict is called. Before adding each value, you must call FLEncoder_WriteKey (not FLEncoder_WriteString!), to write the dictionary key. @param reserveCount Number of dictionary items to reserve space for. If you know the size of the dictionary, providing it here speeds up encoding slightly. If you don’t know, just use zero.