Function darkfi_serial::deserialize_async_partial

source ยท
pub async fn deserialize_async_partial<T: AsyncDecodable>(
    data: &[u8],
) -> Result<(T, usize)>
Expand description

Asynchronously deserialize an object from a vector, but do not error if the entire vector is not consumed.