pub fn from_bytes_with<T: Schema>(
bytes: &[u8],
resolver: &mut dyn Resolve,
) -> Result<Read<T>, Vec<Diagnostic>>Expand description
read_bytes with resolver for the references: the binary form
read through a value tree (the straight path has nowhere to ask), so
references can be checked, rewritten and expanded
(with::Expand).
§Errors
The decoding error, or every problem reading it (the resolver’s among them).