Function sentry_contrib_native_sys::value_to_msgpack[][src]

pub unsafe extern "C" fn value_to_msgpack(
    value: Value,
    size_out: *mut usize
) -> *mut c_char

Serialize a Sentry value to msgpack.

The string is freshly allocated and must be freed with sentry_string_free. Since msgpack is not zero terminated the size is written to the size_out parameter.