[−][src]Function safe_transmute::pod::guarded_transmute_pod_vec_pedantic
pub unsafe fn guarded_transmute_pod_vec_pedantic<T: PodTransmutable>(
bytes: Vec<u8>
) -> Result<Vec<T>, Error>
Deprecated since 0.11.0:
see pod::transmute_vec()
with PedanticGuard
for the equivalent behavior
Transform a byte vector into a vector of POD.
The vector's allocated byte buffer will be reused when possible, and should not have extraneous data.