breez_sdk_liquid::bitcoin::consensus::encode

Function deserialize_partial

pub fn deserialize_partial<T>(data: &[u8]) -> Result<(T, usize), Error>
where T: Decodable,
Expand description

Deserialize an object from a vector, but will not report an error if said deserialization doesn’t consume the entire vector.