pub fn from_wxf_ref<'de, T>(bytes: &'de [u8]) -> Result<T, Error>where
T: FromWXF<'de>,Expand description
Deserialize bytes into a borrowed T whose &str / &[u8] fields
point straight into bytes (zero-copy). The result borrows bytes, so the
input must be uncompressed (8:) — a 8C: payload would have to be
decompressed into a temporary the borrow couldn’t outlive (use [from_wxf]
for the owned form, or read_wxf to borrow within a closure).