Skip to main content

pod_bytes

Function pod_bytes 

Source
pub unsafe fn pod_bytes<'a>(pod: *const c_void) -> &'a [u8] ⓘ
Expand description

The bytes of the pod a PipeWire callback points at: its header names the payload size.

§Safety

pod must point at a complete SPA pod that outlives the returned slice.