pub async fn read_to_bytes_with_len(
    read: BlobRead<'_>,
    len: usize
) -> Result<Bytes>
Expand description

Helper function to collect a BlobRead into a Bytes buffer.