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

Copies from to to. If to is too small, the buffer will be grown appropriately and the old contents copied to, before the new contents are appended.

If the grow fails (overflow or OOM), then an error will be returned.

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