pub unsafe extern "C" fn aws_byte_buf_write_from_whole_buffer(
    buf: *mut aws_byte_buf,
    src: aws_byte_buf
) -> bool
Expand description

Copies all bytes from buffer to buffer.

On success, returns true and updates the buffer /length accordingly. If there is insufficient space in the buffer, returns false, leaving the buffer unchanged.