#[unsafe(no_mangle)]pub unsafe extern "C" fn moq_publish_binary_snapshot_update(
binary: u32,
payload: *const u8,
payload_len: usize,
) -> i32Expand description
Publish a new payload to a binary snapshot track, superseding the last.
Returns a zero on success, or a negative code on failure.
ยงSafety
- The caller must ensure
payloadis a valid pointer topayload_lenbytes.