fn reserve(buf: &mut Vec<u8>, bytes: usize) {
    if buf.capacity() - buf.len() >= bytes {
        return;
    }
    buf.reserve(bytes);
}
/// Allocates more memory and ensures that the unused capacity is prepared for use
/// with the `AsyncRead`.
Allocates more memory and ensures that the unused capacity is prepared for use
with the `AsyncRead`.
Allocates more memory and ensures that the unused capacity is prepared for use with the ` AsyncRead ` .
fn reserve(buf: &mut Vec<u8>, bytes: usize) {
    if buf.capacity() - buf.len() >= bytes {
        return;
    }
    buf.reserve(bytes);
}
fn reserve ( buf : & mut Vec < u8 > , bytes : usize ) { if buf . capacity ( ) - buf . len ( ) >= bytes { return ; } buf . reserve ( bytes ) ; }
Allocates more memory and ensures that the unused capacity is prepared for use
with the `AsyncRead`.
Allocates more memory and ensures that the unused capacity is prepared for use with the ` AsyncRead ` .
buf
&mut Vec<u8>
bytes
usize
buf
&mut Vec<u8>
bytes
usize