pub async fn deserialize_async_limited_partial<T: AsyncDecodable>(
data: &[u8],
max_len: usize,
) -> Result<(T, usize)>Expand description
Asynchronously deserialize a variable-length object from a vector, enforce a maximum size limit, but do not error if the entire vector is not consumed.
Expects objects with VarInt length encoding.