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