Skip to main content

read_bytes

Function read_bytes 

Source
pub fn read_bytes<T: Schema>(bytes: &[u8]) -> Result<T, Vec<Problem>>
Expand description

Reads the binary form as T, borrowed all the way: no string is copied but into T itself — content as the runtime takes it.