#[unsafe(no_mangle)]pub unsafe extern "C" fn gbp_frame_encode_v(
version: u8,
group_id_16: *const u8,
epoch: u64,
transition_id: u32,
stream_type: u32,
stream_id: u32,
flags: u16,
sequence_no: u32,
payload_ptr: *const u8,
payload_len: usize,
) -> GbpBufferExpand description
CBOR-encodes a [gbp::GbpFrame] with an arbitrary version byte.
ยงSafety
Every pointer MUST be valid for the corresponding declared length.