Function json_lines::from_bytes
source · pub fn from_bytes<'a, T>(s: &'a mut [u8]) -> Result<T>where
T: Deserialize<'a>,
Expand description
Deserialize a message of type T
from a byte slice.
pub fn from_bytes<'a, T>(s: &'a mut [u8]) -> Result<T>where
T: Deserialize<'a>,
Deserialize a message of type T
from a byte slice.