from_bytes_to_native

Function from_bytes_to_native 

Source
pub fn from_bytes_to_native<T>(data: &[u8]) -> Result<T, &'static str>
Available on crate feature io-core only.
Expand description

Convenience: read bytes and return the host-native T directly.