#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_frames_data(
frames: *const PamojaFrames,
index: usize,
) -> *const u8Expand description
Returns a pointer to one frame’s payload bytes.
Use pamoja_frames_len for its length. The pointer is valid until the
handle is freed.
§Returns
A pointer to the payload, or null if frames is null or index is out of
range.
§Safety
frames must be a live handle from a decoder feed call, or null.