Function bitcoin::consensus::encode::deserialize_partial [−][src]
pub fn deserialize_partial<T: Decodable>(
data: &[u8]
) -> Result<(T, usize), Error>
Deserialize an object from a vector, but will not report an error if said deserialization doesn’t consume the entire vector.