pub unsafe extern "C" fn aws_byte_buf_reserve(
    buffer: *mut aws_byte_buf,
    requested_capacity: usize
) -> c_int
Expand description

Attempts to increase the capacity of a buffer to the requested capacity

If the the buffer’s capacity is currently larger than the request capacity, the function does nothing (no shrink is performed).