pub unsafe extern "C" fn SherpaOnnxGetOfflineStreamResultAsJson(
stream: *const SherpaOnnxOfflineStream,
) -> *const c_char
Expand description
Return the result as a json string. The user has to use SherpaOnnxDestroyOfflineStreamResultJson() to free the returned pointer to avoid memory leak