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