pub unsafe extern "C" fn aws_byte_buf_append(
    to: *mut aws_byte_buf,
    from: *const aws_byte_cursor
) -> c_int
Expand description

Copies from to to. If to is too small, AWS_ERROR_DEST_COPY_TOO_SMALL will be returned. dest->len will contain the amount of data actually copied to dest.

from and to may be the same buffer, permitting copying a buffer into itself.