unsigned_varint::aio

Function read_usize

Source
pub async fn read_usize<R: AsyncRead + Unpin>(
    reader: R,
) -> Result<usize, ReadError>
Expand description

Try to read and decode a usize from the given AsyncRead type.