pub unsafe extern "C" fn aws_byte_buf_write(
buf: *mut aws_byte_buf,
src: *const u8,
len: usize
) -> bool
Expand description
Write specified number of bytes from array to byte 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.