[][src]Function safe_transmute::pod::guarded_transmute_pod_many_pedantic

pub unsafe fn guarded_transmute_pod_many_pedantic<T: PodTransmutable>(
    bytes: &[u8]
) -> Result<&[T], Error>
Deprecated since 0.11.0:

see pod::transmute_many() with PedanticGuard for the equivalent behavior

View a byte slice as a slice of POD.

The byte slice must have at least enough bytes to fill a single instance of a type, and should not have extraneous data.