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

Copies from to to while converting bytes via the passed in lookup table. If to is too small, AWS_ERROR_DEST_COPY_TOO_SMALL will be returned. to->len will contain its original size plus the amount of data actually copied to to.

from and to should not be the same buffer (overlap is not handled) lookup_table must be at least 256 bytes