Skip to main content

read_usize

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.