[−][src]Function safe_transmute::pod::guarded_transmute_pod_many_permissive
pub unsafe fn guarded_transmute_pod_many_permissive<T: PodTransmutable>(
bytes: &[u8]
) -> Result<&[T], Error>
Deprecated since 0.11.0:
see pod::transmute_many()
with PermissiveGuard
for the equivalent behavior
View a byte slice as a slice of a POD type.
The resulting slice will have as many instances of a type as will fit, rounded down.